ToolPit
← All Tools

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 to text instantly.

Encode text or files to Base64 and decode Base64 strings back to plain text — instantly, in your browser. Handy for data URLs, basic auth headers, JWT payload inspection and email attachments.

How to encode or decode Base64

  1. Pick encode or decode mode.
  2. Paste your text into the input area.
  3. ToolPit converts in real time as you type.
  4. Copy the result to your clipboard with one click.

Frequently asked questions

What is Base64 used for?+

Base64 turns binary data into ASCII text so it can travel safely through systems that only support text — emails, JSON, HTTP headers and data URLs.

Does Base64 encrypt my data?+

No. Base64 is encoding, not encryption. Anyone can decode it instantly. Never use it to hide passwords or secrets.

Can I Base64-encode an image?+

Yes. Upload an image and ToolPit returns a data:image/...;base64,... string you can drop straight into HTML or CSS.