Processing your request...
Encode text or files to Base64 and decode it back to text, images or files.
SGVsbG8sIHdvcmxkISDwn5GL
18 B of text → 24 B of Base64
Text and its Base64. “user:pass” is how HTTP Basic authentication sends a login, which is why it isn't secure without HTTPS.
| Text | Base64 |
|---|---|
| A | QQ== |
| Hi | SGk= |
| Man | TWFu |
| Hello, world! | SGVsbG8sIHdvcmxkIQ== |
| café | Y2Fmw6k= |
| user:pass | dXNlcjpwYXNz |
Encode turns text or a file into Base64. Decode turns Base64 back.
The result updates as you type.
Copy the result, or save decoded files like images and PDFs.
Accents, emoji and non-Latin scripts are encoded as UTF-8, so they decode back correctly.
Turn a file into Base64 or a data URI, and preview or save decoded images and PDFs.
Uses - and _ instead of + and / for URLs, JWTs and file names. Decoding accepts both.
Everything runs in your browser. Nothing is uploaded.
Your rating helps us decide what to improve.