Skip to content
AVEROPDF

Base64 Encoder and Decoder

Convert text (UTF-8) or a file to Base64, and decode a Base64 string, URL-safe variant included.

Processed in your browserFree

About this tool

Encode text to Base64 (accents and emoji included thanks to UTF-8) or decode a Base64 string received from an API, an email or a configuration file. Also convert a file (image, font, PDF) into a Data URI ready to paste into HTML or CSS. The URL-safe variant and wrapping into 76-character lines are supported.

How to use this tool

  1. 1Choose encode or decode.
  2. 2Paste the text (or drop a file to get a Data URI).
  3. 3Copy the result.

Limits to know

  • Base64 is not encryption: it protects nothing, it carries bytes as text.
  • Files up to 5 MB for Data URI conversion (the result is 33% larger than the original).
Accepted formats
Text
Maximum size
2 MB

Privacy and file processing

Data is processed in your browser and is never sent to a server.

Read our privacy policy

Frequently asked questions

No. It is a reversible encoding that represents bytes as text, not encryption: anyone can decode it. To protect a document, use a password or an encryption tool.