Base64
Encode & decode Base64
Base64: Encode & decode Base64. A free, browser-based tool from DevToolbox that runs entirely on your own device: no upload, no account, no tracking.
About the Base64
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support so accented characters, emoji and non-Latin scripts survive the round trip intact.
Conversion is a two-step trip: your input is decoded from the source format into a plain in-memory value, then re-encoded into the target format. Round-tripping a value through both directions returns what you started with, apart from formatting that the target format cannot express.
What you can do with it
- Base64 encoder
- Base64 decoder
- Base64 encode decode online
- Base64 converter
- Text to base64
How to use it
- Paste your input into the input pane.
- Pick the direction you want: encode or decode, source format or target format.
- The converted result appears immediately in the output pane.
- Use Copy to take the result, or pipe it into another tool from the workspace.
Questions
- Why do I get an error decoding a string that looks like Base64?
- Usually one of three things: the string is base64url (using - and _ instead of + and /), the padding = characters were stripped, or it is not Base64 at all. Base64 length is always a multiple of four once padded.
- Is Base64 encryption?
- No. It is an encoding, not a cipher: anyone can decode it without a key. It exists to move binary data safely through text-only channels, not to hide anything.
- Is my data uploaded anywhere?
- No. The tool is JavaScript that runs in the tab you already have open, and DevToolbox has no backend to send anything to. You can open the network tab and watch: after the page and its script load, nothing is sent while you work.
- Does it work offline?
- Once the page has loaded, yes. The tool needs no network access to do its job, so it keeps working if your connection drops. Reloading the page does need the network unless your browser has it cached.
Related tools
The Base64 sits in Encoders & Converters, one of the 90 tools on DevToolbox.