🔄

Base64 Converter

Convert text and files between Base64 and normal formats. Supports drag & drop, various file types and batch processing.

🔄 Versatile Base64 Conversion

Text & Files: Convert both text and files (images, documents) between Base64 and normal formats.

User-friendly: Simple operation with instant conversion, drag & drop support and predefined examples.

Secure & Private: All conversions happen locally in your browser - no data is transmitted.

Text & FilesDrag & DropUp to 10MB file size

Base64 Converter

🔒 Encode

Converts normal text or files to Base64

🔓 Decode

Converts Base64 back to normal text

Input

Characters: 0Bytes: 0

Load examples:

Base64 Output

🔒 Security Information

Safe File Types

Images (JPG, PNG, GIF), documents (PDF, DOC), text files, archives (ZIP, RAR)

🔒

Local Processing

All files are processed only in your browser. No uploads to servers.

Blocked File Types

Executable files (.exe, .bat, .js, .scr) are automatically blocked

⚠️

Size Limit

Maximum file size: 10MB. Warning for files over 5MB.

💡 Tip for developers:

Use Base64 for data URIs in CSS/HTML, API payloads or for embedding small files. Note that Base64 increases file size by ~33%.

What is Base64?

💡

Encoding Standard

Base64 is an encoding method that converts binary data into ASCII text. Uses 64 characters: A-Z, a-z, 0-9, + and /.

🌍

Universal Compatibility

Works in all systems and protocols that only support ASCII text, such as email or URLs.

Efficient Transfer

Enables secure transfer of binary data over text-based protocols without data loss.

Common Applications:

  • Email attachments: MIME-encoded files
  • Data URIs: Images directly in HTML/CSS
  • APIs: JSON with binary data
  • Databases: Storage of binary data
  • Configuration: Embedded certificates/keys

Example:

Text:
Hello World!
Base64:
SGVsbG8gV29ybGQh