URL Encoder
Paste a URL or text and encode or decode it with percent-encoding instantly. Ideal for query strings, API parameters, and form data. Free, 100% in your browser.
Reference
URL Encoding
URL encoding (percent-encoding) converts characters that are not allowed in a URL into a %XX representation, where XX is the hexadecimal value of the byte. encodeURIComponent() encodes all characters except the unreserved set: A–Z a–z 0–9 - _ . ~. Common conversions: space → %20, & → %26, = → %3D, + → %2B.
Common uses
- Query parameters: encode each key and value separately before building a URL — e.g.
q=hello worldbecomesq=hello%20world. - Form data: browsers encode form fields as
application/x-www-form-urlencoded, replacing spaces with+and special chars with percent-sequences.
Privacy
All encoding runs 100% in your browser. No data is sent to a server.