Base64 Converter Online

All-in-one Base64 converter. Encode text to Base64, decode Base64 to text, convert images to Base64 data URIs, and more. Switch between encode and decode modes instantly.

  • Files never leave your device
  • No server upload required
  • Works completely offline
  • No login or signup needed

How It Works

This comprehensive Base64 converter handles all your encoding and decoding needs. Switch between modes: encode text to Base64, decode Base64 to text, or convert files (images, documents) to Base64 data URIs. The tool automatically handles different input types and provides the appropriate output. For images, you can get Base64 data URIs ready to embed in HTML or CSS. All conversion happens in your browser using native JavaScript functions — no server upload required.

Frequently Asked Questions

What can I convert with this tool?

You can encode text to Base64, decode Base64 to text, convert images to Base64 data URIs, and convert files to Base64.

What's a data URI?

A data URI is a way to embed files (like images) directly in HTML or CSS using Base64 encoding, eliminating the need for separate file requests.

Can I convert large files?

Yes, but very large files (over 10MB) may be slow depending on your browser. Base64 also increases file size by about 33%.

How do I use Base64 images in HTML?

Copy the data URI output and use it in an img tag:

Is this tool free?

Yes, completely free with no limits, no signup, and no ads interfering with functionality.