Base64 encode and decode
UTF-8 safe Base64 with URL-safe variant, both directions.
- 01Paste
- 02Adjust
- 03Copy
Paste text to begin. Free
01 — Steps
How to base64 encode and decode
- Paste input
The tool detects which direction you probably want.
- Encode or decode
Toggle the URL-safe alphabet for tokens or URLs.
- Copy
One click.
02 — Questions
Frequently asked questions
Why does my decoded text look garbled?
The input was probably not UTF-8 text, for example binary data or a different encoding.
What is URL-safe Base64?
A variant using - and _ instead of + and /, with padding often removed, so it can appear in URLs and JWTs.
Does it handle Unicode?
Yes. Text is encoded as UTF-8, so accents, emoji and non-Latin scripts round-trip correctly.
03 — Related
Related tools
04 — More
All developer tools