Base64 Encode and Decode

Convert text to Base64 and back. Nothing is sent from your browser.

Your files stay with you. Your files never leave your browser. This tool runs on your device: nothing is uploaded to our servers, so there is nothing for us to store or see.

How to use it

  1. Type or paste your text, or the Base64 string.
  2. Choose Encode or Decode (and URL-safe if you need it).
  3. Copy or download the result.

Questions people ask

Is Base64 encryption?
No. Base64 is only a way to write bytes as plain characters. Anyone can decode it, so never use it to hide passwords or secrets.
Why does decoding say the data is not text?
The Base64 may hold a file such as an image or PDF, whose bytes are not readable text. To turn an image into Base64 use the Image to Base64 tool.
What is URL-safe Base64?
A variant that uses - and _ instead of + and /, and drops the = padding, so it can sit in a URL or filename. JWT tokens use it.
Does it work with Hindi or emoji?
Yes. Text is converted as UTF-8 first, so any language works and decodes back identically.

Want this inside your own account?

Marketiism keeps your invoice numbers, GST reports, UPI payment links and WhatsApp reminders in one place. Leave your details and we'll call to set it up for your business, or start the trial yourself.

Start free trial

We use this only to contact you about Marketiism. No spam.

More Developer tools

JWT Decoder

Read the header, payload and expiry of a JSON Web Token. Decode only, no verification.

Image to Base64

Turn an image into a Base64 data URI, an HTML img tag or CSS background code.

Hash Generator

Get MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file.

JSON Formatter

Format, validate and minify JSON, and see exactly which line has a mistake.

JSON to CSV

Turn a JSON list of records into CSV for Excel or Google Sheets.

Try it on your own business for two weeks.

14 days free, no card. If you get stuck setting up WhatsApp, we'll get on a call and do it with you.