Skip to content

How Base64 works

Paste text or drop a file to encode or decode Base64 in your browser. Nothing leaves your machine.

Uses the browser's built-in btoa/atob with a TextEncoder/TextDecoder wrapper for full Unicode support.

Questions

Is my data sent to a server?
No. Everything runs in your browser. No data leaves your device.
Can I encode files?
Yes. Drop any file onto the input area to get its Base64 representation.
What is Base64 used for?
Base64 encodes binary data as ASCII text, commonly used in data URIs, email attachments, and API payloads.

More Text & Data tools

All the tools · How to check that nothing is sent

Base64 Encoder & Decoder | Only in the Tab