Base64 Encoder / Decoder

Encode text & files to Base64, decode Base64 strings back to plain text

📁

Click to select a file or drag and drop

Any file type supported

About This Tool

The free Base64 encoder/decoder allows you to encode plain text to Base64 and decode Base64 strings back to human-readable text. It also converts entire files into Base64 data URIs for embedding in HTML, CSS, or JSON payloads. URL-safe Base64 encoding is also supported.

Common Use Cases

Frequently Asked Questions

Base64 is an encoding scheme that converts binary data to ASCII using 64 printable characters. Commonly used to embed binary data in text-based formats like HTML, JSON, and XML.
Base64 encoding increases data size by approximately 33% because it represents every 3 bytes as 4 ASCII characters.
URL-safe Base64 replaces + with - and / with _ to make the encoded string safe for use in URLs and filenames.
Yes. Use the File to Base64 tab to upload any image or file and get its Base64 data URI.