FREE TOOL ยท NO SIGN-UP

Base64 encoder and decoder

Encode text to Base64, decode Base64 to text, or turn a file into a Base64 string or data URL for an API request.

RUNS IN YOUR BROWSERNOTHING UPLOADEDNO WATERMARK
Or encode a file
Drop a file to encodeImages, audio, PDFs or anything else up to 25 MB

How to use it

Step 1
Choose Encode or Decode.
Step 2
Paste text, or pick a file to encode.
Step 3
Turn on URL-safe output if the value goes into a URL or a JWT.

Frequently asked questions

Why do APIs ask for Base64?
JSON cannot carry raw bytes, so images and audio are often sent as Base64 strings. Many image and speech models on SandBase accept either a URL or a Base64 data URL.
Does it handle emoji and Chinese text?
Yes. Text is encoded as UTF-8 before Base64, and decoded the same way.
Is my file uploaded?
Everything runs in your browser. Nothing you paste or open is uploaded.

Build with it on SandBase

Models and APIs on one key, when the job outgrows a browser tool.

More free tools

All free tools โ†’