URL Encoder
Percent-encode text for safe use in URLs.
Convert text to Base64 and back.
Runs in your browser. Your input is never uploaded.
Choose Encode or Decode.
Paste your text or Base64 string.
Copy the output. Enable URL-safe to use - and _ instead of + and /.
Input
Hello, DeveloperHub!Output
SGVsbG8sIERldmVsb3Blckh1YiE=Percent-encode text for safe use in URLs.
Decode JWT header, payload and expiry. Never leaves your browser.
Escape and unescape HTML entities safely.
Generate SHA-256, SHA-384 and SHA-512 hashes with Web Crypto.
No. It is a reversible encoding that anyone can decode. Never use it to protect secrets.
Base64 represents 3 bytes as 4 characters, so output is about 33% larger.
It swaps + and / for - and _ and usually drops = padding so the value is safe in URLs and JWTs.
How Base64 works, why it exists, how much it inflates data, URL-safe Base64, Unicode pitfalls and when not to use it.
Paste or type input above, or press Sample to see an example.