Base64 String Encode/Decode
Encode text to Base64 or decode it back.
Runs in your browser: what you paste is never uploaded
How to use Base64 String Encode/Decode
- 1Paste or type your inputUse the box above, or click Sample to try it with an example.
- 2Choose your optionsChoose Encode or Decode, and URL-safe (- and _ without padding) if needed.
- 3Copy the resultCopy it with one click. Nothing is sent anywhere.
About Base64 String Encode/Decode
Encode text to Base64 or decode Base64 back to text, with full UTF-8 support and a URL-safe variant.
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode it; it's a way to carry bytes as text, not a way to hide them.
What is URL-safe Base64?
A variant that uses - and _ instead of + and /, often without = padding, so it can go in URLs and JWTs.
Is what I paste sent anywhere?
No. The tool runs entirely in your browser and never sends what you type or paste to a server.
Is it free?
Yes. It's free, with no sign-up and no limits.
Related tools
- URL Encode/DecodePercent-encode text for URLs, or decode it.
- Base64 Image Encode/DecodeTurn images into data URIs and back.
- HTML Entity Encode/DecodeEscape and unescape HTML entities.
- Backslash Escape/UnescapeEscape and unescape backslash sequences.
- JSON FormatterFormat, validate and minify JSON.
- HTML Beautify/MinifyPretty-print or minify HTML.