Base64 Encoder / Decoder
No server upload
Encode and decode Base64 instantly. Supports text and files. Processed entirely in your browser.
Base64 Encoder / Decoder
Source text
Base64
Drag and drop a file here, or choose one using the button.
No file selected
Guide
What is Base64?
Base64 is an encoding format that represents binary data as text.
When to use it
Useful in APIs, tokens, email payloads, and text-only channels that need binary-safe transport.
URL-safe Base64
URL-safe mode replaces + and / and trims = so encoded values work better in URLs.
Why convert images to Base64?
It helps embed small assets inline and simplifies transport in some systems.
Data URL format
data:[mime];base64,[data] includes both MIME metadata and encoded payload.