Free Online Tool

Base64 Encoder & Decoder

Encode text or files to Base64, or decode Base64 strings back to plain text. Supports text, images, and any file type.


Input

0 characters

Output

0 characters

Encode File to Base64

📄

Drop any file here
or click to browse

Base64 Output

Preview

Input

Output ( + → - , / → _ , strips = padding )

Free Online Base64 Encoder & Decoder

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is commonly used to embed images, fonts, and files directly in HTML, CSS, and JSON without needing separate HTTP requests.

When to Use Base64 Encoding

URL-Safe Base64

Standard Base64 uses + and / which are special characters in URLs. URL-safe Base64 replaces these with - and _ and strips the = padding, making it safe to use in query strings and URL fragments.