Base64 Encode / Decode
Encode text to Base64, or decode it back.
Escape special characters so a URL survives transport intact.
URL (percent) encoding turns special characters into %XX form so the URL transmits safely. Encode: escapes with encodeURIComponent Decode: restores with decodeURIComponent Letters, digits and the safe characters -_.!~*'() are preserved
Percent-encodes reserved characters so Chinese text and spaces can travel inside a URL.
Both directions are supported and update as you type.
Encoding happens locally, so links with parameters are not sent anywhere.
Paste a URL or text
Use the encode direction for text going into a query, and decode to read one back.
Switch direction
Encode and decode sit at the top; the output follows the input.
Copy the result
One button for the escaped string.
Spaces become %20. A + means form encoding (application/x-www-form-urlencoded), which is also common.
URLs only allow ASCII-safe characters, so non-ASCII text is turned into UTF-8 bytes and escaped — otherwise browsers disagree about what the link means.
Encode text to Base64, or decode it back.
Produce URL-safe Base64 without padding characters.
Encode or decode text using the Base32 alphabet.
Encode or decode numbers and text in Base36.
Encode or decode with Base58, the alphabet Bitcoin addresses use.
Turn text into its 0 and 1 representation.
Turn a binary string back into readable text.
Convert text to a hexadecimal string.