quialo.

Base64 Encoder

Enter text above to encode it to Base64.

Convert text to Base64 and back again right in your browser. Switch between encode and decode with one toggle, paste your text or Base64, and copy the result instantly. Everything runs client-side, so your input never leaves your device, and UTF-8 characters like accents and emoji are handled correctly.

How to use

  1. Choose a direction: Encode to turn text into Base64, or Decode to turn Base64 back into text.
  2. Type or paste your input into the left box.
  3. Read the converted result in the right box as it updates automatically.
  4. Click Copy to put the result on your clipboard, or Reset to start over.

Examples

  • Encode: the text "Hello, World!" becomes "SGVsbG8sIFdvcmxkIQ==".
  • Decode: the Base64 "aMOpbGxvIPCfjI0=" becomes "héllo 🌍".
  • Invalid input: decoding "not base64!!" shows a clear error instead of garbled output.

FAQs

Does this handle accents and emoji correctly?
Yes. The tool encodes and decodes using UTF-8, so multibyte characters such as accented letters, emoji, and non Latin scripts round trip without corruption.
Is my text sent to a server?
No. All encoding and decoding happens locally in your browser. Nothing you type or paste is uploaded anywhere.
Why do I get an error when decoding?
Base64 only uses the letters A to Z and a to z, the digits 0 to 9, plus the symbols + and /, with optional = padding at the end. If the input has other characters, the wrong length, or does not decode to valid text, the tool flags it instead of showing broken output.
Can I paste Base64 that spans multiple lines?
Yes. The decoder ignores spaces and line breaks, so wrapped Base64 (common in emails and certificates) decodes fine.
What is Base64 used for?
Base64 represents binary or text data using a safe set of printable characters. It is common in data URLs, email attachments, JSON Web Tokens, and embedding small files inside code or configuration.

Related tools