Base64 and URL encoder
Encode and decode Base64, Base64URL and URL-encoded text with proper UTF-8 support. Instant, private and free.
Handles Unicode correctly (UTF-8). Everything runs locally. Base64 is an encoding, not encryption.
About this tool
Encode or decode Base64, Base64URL and URL-encoded text. Unicode and emoji are handled correctly, and everything runs locally in your browser.
What you can do
- Decode Base64 from an API response or config file
- Make URL-safe Base64 for tokens and links
- Percent-encode a query value with encodeURIComponent
- Swap input and output in one click
All tools · LLM API exercises · Free demo API
Frequently asked questions
Is Base64 encryption?
No. It is a reversible encoding that anyone can decode. Never use it to protect secrets.
What is Base64URL?
A variant that replaces + and / with - and _ and drops = padding, so the value is safe in URLs and JWTs.
Why does decoding fail?
The text may contain characters outside the Base64 alphabet, be missing padding, or decode to bytes that are not valid UTF-8 text.