# Bun Convert a Blob to a ReadableStream

> Convert a Blob to a ReadableStream

- Skill: `jarle/bun-convert-a-blob-to-a-readablestream` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jarle/bun-convert-a-blob-to-a-readablestream`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jarle/bun-convert-a-blob-to-a-readablestream/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jarle (https://skillmd.com/u/jarle)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/jarle/bun-convert-a-blob-to-a-readablestream

---


# Convert a Blob to a ReadableStream

The [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) class provides a number of methods for consuming its contents in different formats, including `.stream()`. This returns `Promise<ReadableStream>`.

```ts  theme={"theme":{"light":"github-light","dark":"dracula"}}
const blob = new Blob(["hello world"]);
const stream = await blob.stream();
```

***

See [Docs > API > Binary Data](/runtime/binary-data#conversion) for complete documentation on manipulating binary data with Bun.

