All developer tools
Base64 Encode/Decode
Encode text or a file to Base64 or a data URL, and decode Base64 back to text or a file.
Runs in your browser. Nothing is uploaded.
How to use
- Choose Encode or Decode, or press Try a sample.
- Type or paste text, or pick a file (up to 10 MB).
- Tick URL-safe for Base64URL (- and _ instead of + and /, no padding) or Data URL to get data:<type>;base64,….
- Copy the result or download it. Decoding something that is not text gives a file to download.