Base64 Encoder/Decoder
Encode text to Base64, or decode a Base64 string back to text.
Runs entirely in your browser. Nothing is sent anywhere.
How it works
- 1Type or paste text, or an existing Base64 string.
- 2Choose Encode or Decode.
- 3Copy the result.
About this tool
Convert text to Base64, or paste in a Base64 string to decode it back — handles full Unicode text correctly (accents, emoji, non-Latin scripts), not just plain ASCII. A URL-safe option is available for Base64 that needs to go inside a URL or filename.
What is Base64 used for?
Encoding binary or text data as plain ASCII characters — common in data URLs, email attachments, API tokens and config files.
What does "URL-safe" mean?
Standard Base64 uses + and / characters, which have special meaning inside a URL. The URL-safe variant swaps those for - and _ and drops the trailing = padding.
Is my text sent anywhere?
No, everything happens entirely in your browser.