Base64 Encode & Decode
Encode text or files to Base64 and decode Base64 back to text or a file. UTF-8 safe, with URL-safe mode.
100% Client-SideType text to encode or paste Base64 to decode — or drop in a file to turn it into Base64.
How to use the Base64 Encode & Decode
- 1
Choose Encode or Decode for text, or switch to the File tab.
- 2
Type or paste your input — the result updates as you type.
- 3
Turn on URL-safe mode to use - and _ instead of + and / and drop the = padding.
- 4
Copy the output, or download decoded binary data as a file.
Frequently asked questions
More developer tools
JSON Formatter & Validator
Pretty-print, minify and validate JSON with exact error locations, sorted keys and custom indentation.
JWT Decoder
Decode JSON Web Tokens to read the header and payload, check expiry, and verify HMAC signatures.
UUID Generator
Generate random v4 or time-ordered v7 UUIDs in bulk, and inspect any UUID's version and timestamp.
Missing a feature or tool?
Tell us what would make Base64 Encode & Decode more useful, or what to build next.