Base64 Forge

Encode & Decode Base64 Instantly

Convert text to Base64 and back. Upload files to generate Base64 Data URIs. 100% free and private.

File to Base64

Upload any file to convert it to a Base64 Data URI. Useful for embedding images in HTML/CSS.

How to Encode & Decode Base64

1

1. Choose Mode

Select Encode or Decode mode. Use Encode to convert text to Base64, or Decode to convert Base64 back to readable text.

2

2. Enter Your Data

Type or paste your text/Base64 string. The conversion happens in real-time as you type. Toggle URL-safe mode for URL-friendly output.

3

3. Copy the Result

Copy the output with one click. For files, use the File to Base64 section to get a complete Data URI ready for HTML or CSS.

Frequently Asked Questions

Is this Base64 encoder free?

Yes, 100% free with no limits. Encode and decode as much as you need without registration.

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that converts data into ASCII characters. It's used to embed images in HTML, send data in APIs/emails, and handle binary data in text-only environments.

Is my data safe?

Absolutely. Everything runs in your browser using JavaScript's built-in btoa/atob. No data is sent to any server.

Can I convert files to Base64?

Yes! Upload any file to get its Base64 Data URI. This is perfect for embedding images directly in HTML or CSS.

Explore More Tools