Processed on your device

No server copy

No server upload

104 file formats

Free tools

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.

Base64 makes a file roughly 33% larger. Ideal for embedding small images in HTML, CSS or JSON — not for sharing large files.

Encode a file → Base64

Drop a file to encode

Images, PDFs, anything — encoded locally


Decode Base64 → file

How to use this tool

1

Pick encode or decode

Encode a local file into Base64 text, or paste Base64 to rebuild a file.

2

Add your input

Drop a file for encoding, or paste a Base64 string for decoding — all in this tab.

3

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.