Base64 Encoder / Decoder
Encode text to Base64 or decode it back — with full Unicode support, so emoji and non-English text survive the round trip.
See it in action
UTF-8 safe both ways — paste a string from a log and read what it really says. Made with this tool.
Limits
How to use it
Put the text you want to work on into the input box. It stays in this tab — nothing is sent anywhere.
Encoding turns text into the A–Z, a–z, 0–9, +, / alphabet that systems can carry safely. Decoding reverses it — paste Base64 and read the text.
Click the run button and the result appears in the output box below, ready to copy or save.
Copy the result with one click, or download it as a plain text file for later.
About this tool
Base64 is the internet's carrying case: whenever binary or delicate text must travel through a channel built for plain ASCII — email bodies, JSON payloads, URL parameters, config files — it gets Base64'd. Developers decode mysterious strings from logs, encode credentials for headers, and test APIs with it daily. The trap in naive tools is Unicode: text outside plain English breaks unless the encoder goes through UTF-8 bytes, as this one does. Everything runs locally, which matters when the string being decoded came from a private log.
Everything runs locally in your browser. Your text is processed with JavaScript in this tab only — it is never uploaded, logged or stored, so you can safely use it on drafts, client copy, code snippets and data you would not paste into a stranger's server. There is no sign-up, no daily limit and no paywall counter ticking down: run it as many times as you need, on any device.
Frequently asked questions
Why does Base64 make text longer?
Base64 carries 6 bits per character where a byte holds 8, so it needs about 4 characters for every 3 bytes — roughly 33% longer, plus padding. That overhead is the price of squeezing arbitrary data through text-only channels.
Is Base64 a way to hide passwords?
No. Base64 is fully reversible by anyone with no key — it hides nothing, it only re-alphabets. It appears next to passwords in HTTP Basic auth purely as transport formatting. For actual protection you need encryption or hashing, different tools for different jobs.
Is this tool free to use?
Yes — free, with no sign-up and no daily limit. Your text is processed in your browser, so there is no server cost and nothing to meter.
Is my text sent to a server?
No. Everything happens with JavaScript inside this browser tab. Your text is never uploaded, logged or stored — paste drafts, client copy or data freely.
How much text can I paste?
Plenty — everyday documents, articles and data files are fine. Extremely large pastes (many megabytes) depend on your device's memory, and the browser may slow down while it works.
Does it work on my phone?
Yes, in any modern mobile browser. For very long texts a bigger screen is more comfortable, but the processing itself works the same everywhere.
Related tools
Want more free tools?
Free tools that all run locally in your browser — no uploads, no fees.
Browse all tools