Files stay on your device Use Base64 Encoder/Decoder ↓

Base64 Encoder/Decoder Online — Free & Private

Encode UTF-8 text to Base64 or decode it back.

No sign-up required Files stay on your device Works offline once loaded

Loading the tool workspace…

Base64 Encode / Decode works on text, as UTF-8, not on arbitrary binary files. Encode produces standard Base64. Decode expects that alphabet and tells you if the string is not valid Base64. This is not encryption. Anyone can decode it.

Encoding uses this browser. The text is not sent to a server.

Large files and OCR need sufficient device memory; review the downloaded result before using it.

Encode UTF-8 text to Base64 or decode it back. Everything runs in this tab — nothing is uploaded for the core job.

  1. Paste text.
  2. Choose Encode or Decode.
  3. Copy the result.
  4. If decode fails, check that you did not wrap the string in quotes.

Privacy proof for Base64 Encoder/Decoder

This tool processes input in your browser. Open DevTools → Network while you run it to check the requests. Some tools need downloaded libraries on their first use.

Popular available tools for everyday tasks. Browse categories or search the full catalog.

Star any tool — it appears under Favorites on this device.

Available tools process your files and text on your device. Choose the operation you need, check its supported inputs and limits, and keep the original file until you have reviewed the result. PDF compression offers a lossless mode and optional image-based modes; image-based exports lose selectable text. Scanned PDFs need OCR for text extraction. OCR language models may need an initial download. Some catalog operations are still being completed and are clearly marked as unavailable. A current browser and sufficient device memory are required. Optional sign-in stores activity metadata, not your documents.

Is Base64 encryption?

No. It is a reversible encoding.

Can I drop a PDF here?

This box is for text. Use Image to Base64 for images.

Why did decode throw?

The input was not valid Base64, or it was a data URL with a prefix. Remove the prefix.

Does it add line breaks?

No. The result is one line.

From our blog: How to Encode and Decode Base64