Base64 Encode / Decode

Encode or decode Base64 without corrupting UTF-8 text.

Workbench

Inputs stay on this page.

How to use Base64 Encode / Decode

  1. Choose “Encode UTF-8 text” or “Decode to UTF-8 text” under Operation.

  2. Paste the text or the Base64 string.

  3. Press “Encode Base64” or “Decode Base64”, then copy or download the result.

About this tool

Base64 writes any data with 64 safe characters (A–Z, a–z, 0–9, + and /), which is how images, attachments and API credentials travel inside text formats such as JSON, email and data URLs.

This tool encodes text as UTF-8 first, so non-English characters and emoji round-trip correctly instead of turning into garbled bytes.

Questions

Is Base64 encryption?
No. Base64 is an encoding: anyone can decode it without a key. Don't use it to hide passwords or personal data.
Why won't my Base64 string decode?
This tool decodes standard Base64. Strings that use - and _ instead of + and / are URL-safe Base64: use the URL-safe Base64 Converter for those.