Base64 Encoder

Encode text or files to Base64. Decode Base64 strings back to text or files. Your file never leaves your device.

Drop file here or click to select
Encode/Decode
File support
Copy result

How Base64 Encoder works

Base64 Encoder reads your file with the browser's File API and processes it with JavaScript on this page. The result is shown in the page or offered as a download created in your browser.

Limits

Good to know

Check it yourself

Open the Network tab of your browser's developer tools (F12) while you use the tool: no request carries your file. The page's Content-Security-Policy only allows our anonymous error counter (what it receives). Step-by-step: how to check that a tool doesn't upload your file.

Use it from code

The same job is available as a REST endpoint, /api/base64, and through the MCP server. Unlike this page, the API receives your input on our server; it is processed in memory and not stored. Anonymous calls are free within fair-use limits.

curl -X POST https://toolsthatdontupload.com/api/base64 \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello","mode":"encode"}'

OpenAPI spec · MCP setup

Related tools

Binary Converter · Code Formatter · Cron Expression Parser · CSS Minifier · CSV Viewer · All tools