Base64 encoder & decoder.

Convert text to Base64 and back, handle emoji and non-Latin scripts correctly, switch to URL-safe Base64url, or turn a file into a data URI.

Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.

More developer tools · All 55 free tools

How to use it

  1. Paste text into the input box.
  2. Press Encode to convert it to Base64, or Decode to turn Base64 back into text.
  3. Tick URL-safe if the result goes into a URL, file name or JWT.
  4. To embed a small image or font, choose a file to get a data URI, then copy the output.

Questions

Is Base64 encryption?

No. Base64 is an encoding: anyone can decode it instantly. Never use it to hide passwords or secrets.

Why is Base64 larger than the original?

Every 3 bytes become 4 characters, so Base64 output is about 33% larger than the input, plus any padding.

What is URL-safe Base64?

Base64url replaces + with - and / with _, and usually drops the = padding, so the value can sit in URLs and file names. JSON Web Tokens use it.

Does it handle emoji and accented letters?

Yes. Text is converted to UTF-8 bytes before encoding, so every script and emoji round-trips correctly.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project