Base64 Encode and Decode
Encode any text to Base64 or decode Base64 strings back to readable text. Handles UTF-8 and URL-safe Base64, and runs entirely in your browser.
Encode any text to Base64 or decode Base64 strings back to readable text. Handles UTF-8 and URL-safe Base64, and runs entirely in your browser.
Base64 turns binary or text data into a string made of 64 safe ASCII characters. It is used to embed data in JSON, HTML, CSS and email, and to pass data through systems that only accept plain text.
This tool encodes text (including emoji and non-English characters, as UTF-8) and decodes Base64 back to text. Everything runs in your browser.
Input: Hello, World! Output: SGVsbG8sIFdvcmxkIQ==
No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect secrets.
A variant that uses - and _ instead of + and /, and drops the = padding, so the result can sit safely in a URL or filename.
The input contains characters outside the Base64 alphabet, or the decoded bytes are not valid UTF-8 text, for example when the data is a binary file.
No. Encoding and decoding happen in your browser.