Encode or decode text and files to/from Base64. No data leaves your browser.
Drop a file or click to browse
Any file type
Text → Base64, Base64 → Text, or File → Base64.
Type or paste text, or pick a file.
Copy the output or a ready-made data URI, or download it as .txt.
A way of writing binary data with 64 plain-text characters, so it can travel safely inside JSON, emails, URLs or HTML.
No. Anyone can decode it — it’s an encoding, not a way to protect data. To protect files, use PDF Encrypter or a password.
Use File → Base64 and copy the data URI. It can go straight into an img src or a CSS url().
Yes. Text is encoded as UTF-8, so every character decodes back correctly.
Base64 represents every 3 bytes with 4 characters, so the result is about 33% larger.