📥 PASTE YOUR BASE64 HERE INPUT
💥 Invalid Base64!
📚 TRY AN EXAMPLE — CLICK TO LOAD! EXAMPLES
Simple Text
SGVsbG8gV29ybGQ=
↓ "Hello World"
JSON Object
eyJuYW1lIjoiQWxpIiwidG9vbCI6IkRldk51bmlhIn0=
↓ {"name":"Ali",...}
URL
aHR0cHM6Ly9kZXZkdW5pYS5jb20=
↓ https://devdunia.com
Hidden Message
U2VjcmV0TWVzc2FnZTEyMw==
↓ SecretMessage123
🧠 HOW BASE64 WORKS EXPLAINER
1

Every character in your text becomes its ASCII number (e.g. 'H' → 72, 'i' → 105).

2

Those bytes are grouped into 3-byte chunks (24 bits) then split into four 6-bit groups.

3

Each 6-bit value maps to one of 64 characters: A-Z, a-z, 0-9, +, /. That's where the name comes from!

4

= padding is added to make the output length a multiple of 4. This decoder strips it automatically.

5

Decoding is the exact reverse — Base64 chars → 6-bit groups → bytes → original text. ~33% size overhead is the trade-off for safe ASCII transport.