← Back to all tools

TOOL · 30 · Data & Utility

Base64 Encode / Decode

Encode text or any file to Base64, or decode Base64 back into text or a downloadable file.

In short
Base64 Encode / Decode converts text or any file to Base64 and back — encode a file into a Base64 string, or decode a Base64 string back into a downloadable file. Everything runs in your browser.

How it works

  1. Step · 01

    Pick Text or File, then Encode or Decode.

  2. Step · 02

    For text: type or paste, then click. For files: drop a file to encode, or paste Base64 to decode back into a file.

  3. Step · 03

    Copy the result or download it. Everything runs locally.

Related tools

Frequently asked questions

Which mode should I use?
Use Text ↔ Base64 for strings, tokens or small snippets. Use File → Base64 to inline a file (image, PDF, binary) into a data string, or Base64 → File to reconstruct the original file from a Base64 payload.
Is there a file size limit?
Base64 is ~33% larger than the original. Files up to ~50 MB encode comfortably in the browser; huge files can be slow because the whole result has to fit in memory as a single string.
Are my files uploaded to a server?
No. Files are processed directly in your browser using JavaScript and WebAssembly. Nothing is uploaded to our servers, so your documents never leave your device.
Does it work on mobile?
Yes. The tools run in any modern browser on desktop, tablet, or mobile (Chrome, Edge, Safari, Firefox). Very large files may be slower on low-end phones.