Base64 File Converter

Convert a file to Base64, or turn Base64 text back into its original text.

Your file never leaves your device
Drop your files here Tap to choose a file

or browse your device — you can also paste (Ctrl+V)

Your camera and gallery open from the file picker

One file at a time. Files over 200 MB may be too large for browser processing.

    More options

    Your result will appear here.

    Free, no account, no sign-up. Your file never leaves your device — this page works even offline once loaded.

    Convert a file to Base64, or turn Base64 text back into its original text. Upload any file and the tool encodes its exact bytes as a single Base64 string, with an option to wrap the result as a data URI using the file's own type or a type you choose. In the other direction, paste or upload Base64 text and the tool decodes it, returning the text when the bytes are valid UTF-8 and saying so honestly when they are not. Invalid Base64 is reported as an error instead of producing a corrupt result. Use it to embed a small file in a JSON document, a config file or a data URI, or to inspect Base64 you received from somewhere else. The conversion runs entirely in your browser, so the file you upload never leaves your device, nothing is stored, and there is no account to create.

    How to use Base64 File Converter

    1. Choose your file drop it onto the box above or browse your device.
    2. Set the options adjust any settings below the box, if the tool has any.
    3. Click Convert the conversion runs entirely in your browser — nothing is uploaded.
    4. Download the result save the converted file to your device.
    5. Convert another clear the tool and choose a new file — no sign-up, no limits.

    Format facts

    InputA file from your device.
    EngineBuilt-in browser engine
    CategoryDeveloper Tools

    Frequently asked questions

    What does Base64 encoding do?

    It turns the exact bytes of a file into text made only of letters, digits, plus, slash and equals padding. The text is longer than the file, but it can travel through systems that only accept text.

    What is the data URI option for?

    It wraps the Base64 text as data: followed by the MIME type, so the result can be used directly as an image source or a link. Without it you get the raw Base64 text.

    Can it decode Base64 back to the original?

    Yes, when the decoded bytes are text. Paste Base64 and choose the decode direction. If the bytes are not valid UTF-8 text, the tool says so instead of returning garbage.

    Is my file uploaded anywhere?

    No. The file is read and encoded entirely in your browser. It never leaves your device and is never stored.