Base64 Tools

Auto Detect

Input

Paste or type JSON, Base64, or plain text…

Paste or click a sample above — it will be detected automatically.

Base64 beyond plain text

Plain-text encoding is only half the story. This hub handles the conversions developers actually stumble on in production: inlining images as data URIs, unwrapping Base64-encoded JSON payloads from APIs, and translating between hex, binary, octal and Base64 views of the same bytes. Load a file, paste a string, and every conversion stays on your machine.

Which tool should you use?

Every member tool is one click away inside the workspace above. This directory maps each job to the right starting point.

Which Base64 tool to use for each conversion
TaskBest tool
Encode or decode plain textBase64 Encoder / Base64 Decoder
Inline an image as a data URIImage/PNG/JPG → Base64
Render a data URI back into a previewable imageBase64 → Image
Unwrap API payloads that arrive Base64-wrappedBase64 → JSON (pretty-printed)
Embed XML, YAML, CSV or TSV documents in text channelsFormat → Base64
Inspect byte-level values across representationsHex ⇄ Base64, Binary ⇄ Base64, Octal ⇄ Base64

Frequently asked questions

How do I convert an image to Base64?

Pick Image → Base64 (or PNG/JPG variants) in the workspace above, paste or load the file, and copy the resulting data URI. The conversion happens locally — the image is never uploaded.

What is a data URI?

A data URI embeds file content directly in text form, e.g. data:image/png;base64,iVBOR…. Browsers render it like a normal URL, which is how small images get inlined into CSS and HTML.

Why decode Base64 to JSON instead of plain text?

APIs frequently Base64-wrap structured payloads. Decoding straight to pretty-printed JSON saves you a second formatting step when inspecting what was actually sent.

Does converting hex or binary to Base64 change the data?

No. Hex, binary, octal and Base64 are all textual representations of the same bytes. These converters re-encode the underlying bytes; nothing about the content changes.

Is there a size limit for images?

Processing runs at browser speed with no artificial cap, but very large files compete for the tab's memory. Inlined data URIs also grow ~33%, so keep embedded images small.

Last reviewed August 2026 · DataFormatter team — this tool processes data locally in your browser.