Base64 encode / decode
Encode and decode Base64 in the browser, with UTF-8 and a URL-safe variant. No data sent.
Genuinely free. No sign-up, no email, no limits, no cookies. We don't store the URL you analyse.
Type something to see the result.
What this tool cannot see
Base64 is encoding, not encryption: it makes text transportable, not secret. Anyone can decode it. Don't use it to protect sensitive data.
What it's for
Base64 represents binary data (or text with problematic characters) using only transport-safe characters: you find it in data URIs, email attachments, tokens, HTTP headers. It adds no protection. It's a reversible translation, not a lock.
The same set includes the JWT decoder and the Unix timestamp converter.
Frequently asked questions
›What is the URL-safe variant?
Standard Base64 uses «+» and «/», which have special meaning in URLs. The URL-safe variant replaces them with «-» and «_» and drops the «=» padding, so the string can sit inside a URL or a JWT without being altered.
›Does it handle accented characters and emoji?
Yes. Encoding goes through the UTF-8 representation of the characters, so accents, symbols and emoji are handled correctly both ways, without the garbled output a naive atob() produces.
›Is my data sent anywhere?
No. Everything happens in your browser: no text is sent to a server or stored. That's why it's safer to handle confidential content here than on an online service that transmits it.