URL Encoder & Decoder
Percent-encode or decode text for safe use in URLs, and break any URL into its parts with an editable query-parameter table.
Input
0 characters
Tip: press Ctrl+Enter to run the current direction.
Output
0 characters
URL Parser & Query Editor
Components
Query Parameters
| Key | Value (decoded) | Remove |
|---|
No query parameters. Click “Add parameter” to create one.
How to Use the URL Encoder
Encode / Decode
- Paste text into Input and click Encode or Decode
- Choose encodeURIComponent for a single value (query value, path segment) or encodeURI for a complete URL
- Enable Space as + for
application/x-www-form-urlencodedstyle - With Live mode on, the output updates as you type; Swap reverses the direction
Parse a URL
- Paste a full URL into the URL Parser field — it is parsed as you type
- See protocol, host, port, path, query and hash at a glance
- Edit, add or remove query parameters using decoded values
- The Rebuilt URL updates live with correct encoding — copy it or use it as the new input
What is URL encoding?
URL encoding (percent-encoding, RFC 3986) replaces characters that are unsafe or reserved in URLs with a % followed by two hexadecimal digits of each UTF-8 byte — for example a space becomes %20 and é becomes %C3%A9. encodeURIComponent also escapes reserved characters like & = ? / #, so it is the right choice for individual parameter values, while encodeURI keeps them so a whole URL stays functional.
Privacy & Security: All encoding, decoding and URL parsing happens entirely in your browser. No data is sent to any server.