How to use it
- Choose the encoding (Base64, URL, HTML, Unicode, hex) and the direction (decode or encode).
- Type or paste on the left and the result appears on the right; invalid input explains why.
- Use the result as input to reverse it; files convert straight to Base64 and Base64 files can be downloaded back.
Frequently asked questions
Why does decoded Base64 look like gibberish?
Usually the original was not text but a file such as an image or PDF. The tool detects this: when the result is binary it shows the file type so you can download it.
Encoding a full URL versus a parameter value?
Parameter values (the default) also encode /, ? and = and similar symbols, ready for a query string; Full URL only encodes unsafe characters such as spaces and Chinese, keeping the URL structure.
What is Base64? Is it encryption?
Base64 is an encoding: it turns any binary data, three bytes at a time, into four printable characters from A–Z, a–z, 0–9, + and /, so the output is about one third larger. It is used for email attachments, image Data URIs, JWTs and sending files through APIs. It is not encryption — anyone can decode it — so it must not be used to protect passwords or other secrets. The URL-safe variant replaces + and / with - and _.