Base64 Encode / Decode
Last updated: May 23, 2026Encode and decode Base64 text.
Base64 encodes and decodes text right in your browser — switch between Encode and Decode, paste your text or a Base64 string, and copy the result in one click. It handles full Unicode (UTF-8), so emoji and accented characters round-trip cleanly, and because everything runs locally, nothing you paste — tokens, payloads or secrets — is ever uploaded to a server.
How to use Base64 Encode / Decode
This free Base64 encode and decode tool converts text to and from Base64 right in your browser. It handles full Unicode correctly, making it ideal for data URIs, API tokens, basic auth headers and quick debugging. Everything runs on your machine, so the text you paste is never uploaded to a server.
Read the full guide: Base64 Encode and Decode: A Practical Developer Guide
- 1Paste or type your text into the input box, or drop in an existing Base64 string.
- 2Choose Encode to turn text into Base64, or Decode to turn Base64 back into readable text.
- 3Copy the result with one click and reuse it in your data URI, token or request.
Full Unicode support
Emoji and non-Latin characters encode and decode correctly without mojibake.
Completely private
Encoding and decoding happen locally in the browser, so your data never leaves your device.
No limits or signup
Convert as many strings as you like for free with no account or installation.
Decode a Base64 string
Switch to Decode, paste the encoded string, and read the original text — handy for inspecting a JWT payload, a Basic-auth header or a Base64 field in an API response. The decode runs locally, so even sensitive tokens stay on your device.
Encode text to Base64
Type or paste any text, choose Encode, and copy the Base64 output for config files, data URIs, email headers or anywhere binary-safe text is required. Unicode is encoded as UTF-8 first, so nothing gets mangled.
Create a data URI
Encode your content to Base64 and prefix it with the right scheme — for example data:text/plain;base64, — to embed it directly inside HTML or CSS without a separate file request.
Encode or decode an image
This tool works on text. To turn an image into a Base64 data URI or decode a Base64 string back into an image, use the dedicated Image to Base64 and Base64 to Image tools, which handle the file directly in your browser.
Base64 Encode / Decode — frequently asked questions
Is Base64 a form of encryption?
No. Base64 is an encoding scheme, not encryption. Anyone can decode it back to the original text, so never use it to protect passwords or secrets.
Can I create a data URI with this?
Yes. Encode your text or content to Base64 and prefix it with the appropriate data URI scheme, such as data:text/plain;base64, to embed it directly in HTML or CSS.
Does it handle emoji and accented characters?
Yes. The tool encodes input as UTF-8 first, so emoji, accents and other non-ASCII characters round-trip correctly without corruption.
Share this tool
Send it to someone who needs it or save the link for later.