πŸ”’
πŸ“¦

Encode Binary Data for Text Transfer

Encode files or binary data to Base64 so they can be safely included in JSON, XML, or plain text.

Nid oes angen mewngofnodi

Data Transfer tips

πŸ“¦

Binary data (images, PDFs, executables) can't be reliably transmitted as raw bytes in text-based protocols. Base64 makes them safe.

πŸ“‹

JSON does not support binary values natively. Encode your binary data as Base64 and include it as a string field in your JSON payload.

πŸ’‘

Base64 encoded data is ~33% larger than the original. For large files, consider using a file URL or blob storage reference instead.

πŸ”

Use decode mode to inspect Base64 payloads from API responses, database blobs, or encoded config files.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin