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.

Mode: Direction: Encode

Input

0 characters

Tip: press Ctrl+Enter to run the current direction.

Output

0 characters

URL Parser & Query Editor

How to Use the URL Encoder

Encode / Decode

  1. Paste text into Input and click Encode or Decode
  2. Choose encodeURIComponent for a single value (query value, path segment) or encodeURI for a complete URL
  3. Enable Space as + for application/x-www-form-urlencoded style
  4. With Live mode on, the output updates as you type; Swap reverses the direction

Parse a URL

  1. Paste a full URL into the URL Parser field — it is parsed as you type
  2. See protocol, host, port, path, query and hash at a glance
  3. Edit, add or remove query parameters using decoded values
  4. 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.

Send Feedback or Request