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.
How to use it
- Paste text into the input box.
- Press Encode to convert it to Base64, or Decode to turn Base64 back into text.
- Tick URL-safe if the result goes into a URL, file name or JWT.
- 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.
Read more
Developer guidesEncoding vs hashing vs encryption: what’s the difference?
A plain-English explanation of encoding (Base64, URL encoding, UTF-8), hashing (SHA-256, HMAC, password hashing) and encryption (symmetric, asymmetric, TLS) — and the mistakes to avoid.
Developer guidesJSON Web Tokens (JWT) explained: structure, validation and security pitfalls
What a JWT is, how its header, payload and signature work, which claims to validate, HS256 vs RS256, where to store tokens, and the security mistakes to avoid.
Related tools
- Developer
URL encoder & decoder
Percent-encode or decode text for URLs and query strings, and break a URL into its parts.
Open - Developer
JWT decoder
Decode a JSON Web Token’s header and claims, check expiry and verify HS256 signatures locally.
Open - Security
Hash generator (SHA-256)
Create SHA-1, SHA-256, SHA-384 and SHA-512 hashes or HMACs of text and files.
Open