Base64 Encoder & Decoder
Encode text to Base64 or decode it back.
ⒷBase64 Encoder & Decoder
All processing happens locallyWhat this tool does
Base64 Encoder & Decoder is a two-way Base64 codec, the calculation runs entirely in your browser and nothing is uploaded.
Base64 lets binary data travel through text-only channels, such as embedding an image in a stylesheet. The URL-safe alphabet swaps plus and slash for minus and underscore so values survive in URLs.
How to use it
- Paste or type your content into the input field at the top, or press the sample button to load demo data.
- Adjust the options below the input, such as output format, separators, letter case or precision.
- Press the main button to run the conversion. Results appear instantly in the output panel without a page reload.
- When the result looks right, use the copy button in the corner, or download it as a local file.
Tips and notes
Clean up stray spaces and line breaks before pasting for more accurate results.
FAQ
Yes. Text is UTF-8 encoded before conversion and restored the same way, so accents and emoji survive intact.
About one third longer, since every 3 bytes become 4 Base64 characters.
Usually whitespace or missing padding. Remove spaces and line breaks, then retry.
Yes. The tool is completely free with no usage limits, and you never need an account or a sign-in.
No. All processing runs locally in your browser, so the input never reaches a server and is never logged or stored.
Yes. The layout is mobile-first, so inputs and buttons stay comfortable on phones and tablets in both orientations.
Yes. A copy button in the output panel puts the result on your clipboard, and you can also download it as a text file.