Encode and decode Base64.
Paste text or Base64 and convert between the two instantly, entirely in your browser.
Loading the tool…
Key points
- Paste text or Base64 to convert between the two instantly.
- Encodes files up to 1 MB as well as pasted text.
- Accented characters and emoji survive the round trip through UTF-8.
- Browser-only. Nothing is uploaded, nothing logged.
Base64 turns up everywhere in development, from data URIs and API tokens to email attachments and config values. The tool above converts in both directions, and it routes text through UTF-8 rather than the browser's raw btoa, so accented characters and emoji come back intact instead of failing outright. File mode encodes any file up to 1 MB. All of it happens in the page you are already on, so nothing is uploaded and nothing is logged.
Base64 is often a step inside a bigger task. If you're decoding a token, it's quicker to peek inside a JWT with the purpose-built tool. If you're working with encoded JSON, you can clean up minified JSON so the result is readable.
When you need to share the output rather than just read it (say, a decoded file or a config dump), you can put any file online and send a link. The rest of NudgeHost's small dev utilities live alongside this one.
None of the tools here need an account, and this one is no exception. Hosting is the paid side of NudgeHost, and you can share a file now whenever a decoded file needs to reach someone.
Drop a file here and get a shareable link in seconds.
Try it freeFrequently asked questions
Does the data leave my browser?
No. Encoding and decoding happen locally. Nothing is uploaded or logged.
Can it handle files, not just text?
Yes, up to 1 MB per file. That covers the icons, small images, and font subsets that usually go into data URIs and inline assets.
Why won't my Base64 decode to text?
Either the input isn't valid Base64, or it is valid but holds binary data such as an image. The tool says which of the two it found rather than showing you a screen of replacement characters.
Get file-sharing tips that actually help.
One email a month. No spam, no fluff.
Related tools
Other things you can do on NudgeHost.
Ready to try the dev tools?
Free forever, no credit card needed. The whole thing takes a few seconds.
Get started free