Base64 Converter (Encode / Decode)
Turn screenshots & files into Base64/Data URI — or decode Base64 back to a file. Works entirely in your browser.
Step 1 — Add a file
Drag & drop a file here
Image, PDF, text, etc. — or click the button below
Options
Paste Base64 or Data URI
About this Base64 tool
This free Base64 converter encodes files (screenshots, images, PDFs, text, etc.) to Base64 or a full Data URI, and also decodes Base64 back into a downloadable file. All work happens locally in your browser—nothing is uploaded.
How to use
- Encode: drag & drop a file, paste a screenshot, then copy Base64 or download as .txt.
- Decode: paste a Base64 or Data URI to rebuild and download the original file.
- Use options to include prefix, wrap lines, make URL-safe, or strip padding.
Common uses
- Embed small images inline in HTML/CSS/JS.
- Quickly share a screenshot as text in chat or tickets.
- Decode received Base64 strings into actual files.
Is it free?
Yes, the Base64 encoder/decoder is free and requires no login.
Do you store my files?
No. Everything runs locally in your browser. Nothing is uploaded.
Which formats are supported?
Images (PNG/JPG/WebP/GIF), PDFs, text, and most browser-readable files.
Include the data URI prefix?
Toggle the prefix, URL-safe mode, line wrapping, and padding removal in Options.
How do I decode?
Open Decode, paste your Base64 or data URI, then click Decode & download.
Last updated: October 20, 2025