Base64 Encoder / Decoder

Encode and decode text or files to Base64 and back.

Free online tool. No signup required. All processing runs in your browser.

About this tool

Paste text or use the encoder to get a Base64 string, or paste a Base64 string to decode it back to text. Useful for data URLs, APIs, and embedding small payloads.

What is Base64 Encoder / Decoder?

Base64 is an encoding scheme that turns binary data into ASCII text. It is often used in data URLs, APIs, and email attachments.

How to use Base64 Encoder / Decoder

  1. Choose Encode or Decode.
  2. Paste your input in the text area.
  3. Click the action button and copy the result.

Examples

Example input

Hello, World!

Example output

SGVsbG8sIFdvcmxkIQ==

FAQ

Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it.
Can I encode images?
Yes. Use the Image to Base64 tool for files; this tool is for text.

Related tools