Base64 writes any data using 64 safe characters, so it can travel inside JSON, email, URLs and HTML. Paste text to encode it, or paste Base64 to see what it says.
Text is handled as UTF-8, so emoji and every alphabet survive the round trip. A URL-safe variant swaps the two characters that cause trouble in web addresses, and a whole file can be encoded too.
How to use the Base64 Encode and Decode tool
- Choose Encode or Decode.
- Paste the text or the Base64 string.
- Copy the result.
Popular uses
- Reading a Base64 value from an API or a token
- Embedding small data in JSON or a config file
- Basic authentication headers
Tips for the best result
- The middle part of a JWT is URL-safe Base64; decode it to read the claims.
- Encoded data is about a third larger than the original.
Quick facts
| Price | Free |
|---|---|
| Works with | Text |
| Where it runs | In your browser, on your device |
| Account | Not needed |