Convert text, query strings or parameters to percent-encoded format instantly.
URL encoding (percent-encoding) replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits, e.g. space → %20
.
! * ' ( ) ; : @ & = + $ , / ? # [ ]
are commonly encoded.
encodeURIComponent('hello world') // "hello%20world"
decodeURIComponent('hello%20world') // "hello world"
All conversions run inside your browser — nothing is uploaded to our servers.