Pronto Arquivo
☰

Base64 Encode and Decode

Convert text and files to Base64 and back, with proper UTF-8.

  • Never leaves your device
  • No sign-up
Result
 

File to Base64

Quick answer: To encode Base64, paste your text and see the result instantly. To decode, switch to Decode and paste the Base64 (data URIs work too). To convert a file or image, use the file area: you get a data URI ready for HTML or CSS.

How to do it in 3 steps

  1. 1Choose encode or decode.
  2. 2Paste text or pick a file.
  3. 3Copy the result.

Why use Pronto Arquivo

Proper UTF-8

Accents and emoji don't break, unlike plain btoa.

URL-safe Base64

The - and _ variant used in JWTs and URLs.

File to Base64

Images and PDFs become data URIs.

Private

Nothing is uploaded; handy for tokens and keys.

Guides

Base64 is not encryption

Anyone can decode Base64. Don't use it to hide passwords.

Frequently asked questions

What is Base64?

A way to represent bytes with 64 text characters, used in email, data URIs and tokens.

How do I decode Base64?

Choose Decode and paste the text.

Why do I get strange characters when decoding?

The content may be binary (an image or PDF), not text.

Is my data sent anywhere?

No. Everything is processed in your browser.

More tools