FORMATFYCOM formátovač · validátor · minifikátor About

What's new

Base64 Encode

Encode text or any file (image, PDF…) to Base64, optionally URL-safe. Free, and your file never leaves your browser.

Input

Output


      

How to Base64-encode text and files

Encodes text (UTF-8) or any file — image, PDF, ZIP — to Base64, optionally URL-safe without “=”. The file is only read by your browser.

  1. Type text or drop a file

    Type text, or drop any file (binary too).

  2. Pick the variant

    Standard Base64, or URL-safe (- and _ instead of + and /, no =) for URLs and JWTs.

  3. Copy the result

    Updates as you type; copy or download it.

What it does

UTF-8 text

Accented characters and emoji are encoded correctly as UTF-8 bytes.

Any file

Images for data: URIs, attachments for JSON, certificates…

URL-safe variant

No + / = — suitable for URLs, file names and JWTs.

FAQ

Is Base64 encryption?

No. Base64 only turns bytes into text; anyone can decode it. It doesn’t protect data.

Why is the result a third longer?

Base64 encodes every 3 bytes as 4 characters, so the data grows by about 33%.

Is it free, without sign-up?

Yes. No sign-up, no ads and no size limit — the only limit is your computer.

Is my data sent to a server?

No. Everything runs in your browser and the data you paste never leaves it — fine even for data with tokens or personal information.

Related tools