Encoder / Decoder
Convert text to and from Base64, Base64URL, Base32, hex, URL and HTML encoding.
In browserOpen
Loading tool…
About this tool
- Runs entirely in your browser. Nothing you enter is uploaded.
- Text is treated as UTF-8. Encoding is not encryption: anyone can decode it.
Use it to
- Decode a Base64 string from an API response.
- Escape text for a URL or HTML attribute.
- Convert between hex and text while debugging binary protocols.
Limits
- Decoding binary data that is not valid UTF-8 text produces an error rather than garbled text.
How it works
Text is converted to UTF-8 bytes and written in the chosen format, or decoded back. The output can be reused as input to chain conversions.
Questions about Encoder / Decoder
Help centerIs Base64 a form of encryption?
No. Base64, Base32, hex and URL encoding only change how data is written. Anyone can decode them without a key. Use File Encryption when the content must stay secret.
What is the difference between Base64 and Base64URL?
Base64URL replaces + and / with - and _ and usually omits the = padding, so the result can be used in URLs and file names. JWTs use Base64URL.