Base64 & URL Encoder

Encode & decode Base64 strings and URLs instantly

Plain Text ⟶ Base64 ⟶ Safe for transmission in HTML, JSON, URLs
Encode: Text → Base64
Encoded output will appear here...
Decode: Base64 → Text
Decoded output will appear here...
💡 What is Base64?

Base64 encodes binary data into ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It's used to safely embed binary data in text-based formats like JSON, XML, HTML, or email. Note: Base64 is not encryption — it's just encoding.

Use cases:
Email attachments
Data URLs
JWT tokens
API payloads
Safe for:
JSON values
HTML attributes
URL parameters
HTTP headers
Remember:
~33% larger
Not encrypted
Decodable by anyone
Reversible
URL Encoding Mode

Encodes all special chars including &, =, ?, # — use for query parameter values

Encode: Text → URL Encoded
Encoded URL will appear here...
Decode: URL Encoded → Text
Decoded text will appear here...
💡 Common URL Encodings
${[['Space','%20'],['!','%21'],['#','%23'],['$','%24'],['&','%26'],['=','%3D'],['?','%3F'],['@','%40'],['[','%5B'],[']','%5D'],['/','/→%2F'],['\\n','%0A']].map(([k,v])=>`
${k}${v}
`).join('')}