rembrembdocs

Skip to main content

Bun home pagelight logodark logo

[Runtime

](../../../index.md)[Package Manager

](../../../pm/cli/install/index.md)[Bundler

](../../../bundler/index.md)[Test Runner

](../../../test/index.md)[Guides

](../../index.md)[Reference

](https://bun.com/reference)[Blog

](https://bun.com/blog)[Feedback

](../../../feedback/index.md)

A Blob can be constructed from an array of “chunks”, where each chunk is a string, binary data structure (including Buffer), or another Blob.

const buf = Buffer.from("hello");
const blob = new Blob([buf]);

See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.

Was this page helpful?

Suggest editsRaise issue

[

Convert a Buffer to an ArrayBuffer

Previous

](../buffer-to-arraybuffer/index.md)[

Convert a Buffer to a Uint8Array

Next

](../buffer-to-typedarray/index.md)