Base64 Encoder & Decoder
Turn any file into a Base64 text string — or turn a Base64 string back into a downloadable file. Ideal for data URIs, API payloads, and quick debugging without uploading.
Encode a file → Base64
Drop a file to encode
Images, PDFs, anything — encoded locally
Decode Base64 → file
How to use this tool
Pick encode or decode
Encode a local file into Base64 text, or paste Base64 to rebuild a file.
Add your input
Drop a file for encoding, or paste a Base64 string for decoding — all in this tab.
Copy or download
Copy the encoded string, or download the decoded file when you are done.
Frequently Asked Questions
More on quality loss: conversion quality guides · compression guides
Is Base64 encoding free here?
Yes. Encode and decode in your browser with Format Convertly at no cost.
Do you store my files or strings?
No. Base64 processing stays on your device with no server upload.
Can I encode images for CSS data URIs?
Yes. Encode JPG or PNG files, then paste the string into a data URI. For permanent format changes, use an image converter.
What if I need JPG to PNG instead?
Open the JPG to PNG converter for a binary image conversion rather than a Base64 text encoding.
Ready to convert more formats?
Browse converters or jump back to the tool above.