Base64 Tool

Encode text to Base64 or decode Base64 strings. Also encodes and decodes files.

How to encode or decode Base64 online

  1. Paste text or load a small file to encode.
  2. Switch between encode and decode modes as needed.
  3. Copy the output — nothing leaves your browser.

Frequently asked questions

Can I encode files to Base64?

Yes. Select a file to produce a Base64 data URL representation locally in your browser.

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone with the encoded string can decode it. Never use it to secure sensitive data.

Is the Base64 tool free?

Yes. 100% free — no sign-up, no limits.

What is Base64 used for?

Base64 is used to encode binary data (images, files) as ASCII text for embedding in JSON, XML, HTML, CSS, email attachments, and API payloads.