Production-Ready Base64 Tool

Base64 Encoder / Decoder

Convert text, images, and binary payloads into Base64 encoded string format or decode Base64 strings back to raw UTF-8 text.

Input Content Workspace

Click any preset sample to populate input instantly:

Recommended for URLs, query parameters, and filenames.
Inserts newline breaks every 76 characters for email headers.
Select File to Convert to Base64

Supports Images (PNG, JPG, SVG, WebP), PDFs, and Documents.

Output Workspace
Input Size0 B
Output Size0 B
Size Ratio+0%
ValidationValid
Decoded Image Media Preview
Decoded Base64 Preview
Dual Encoding & Decoding

Convert raw text, JSON, and binary data into Base64 or decode Base64 strings back to UTF-8 text with multi-byte symbol support.

URL-Safe & MIME RFC 2045

Supports URL-safe Base64 variants (replacing + and / with - and _) and 76-character MIME line splitting for email headers.

File & Image Data URIs

Convert local image files directly into Base64 Data URIs (data:image/png;base64,...) with live image media previews.