URL Encoder & Decoder

Encode URLs by percent-encoding special characters, or decode percent-encoded URLs back to readable text instantly. 100% browser-based — no data uploaded.

Ready
Input0 B
Result

What is a URL Encoder & Decoder?

A URL encoder converts strings and URLs into percent-encoded format, where special characters are replaced by a percent sign followed by their two-digit hexadecimal ASCII or Unicode code point (for example, a space becomes %20, & becomes %26, and Chinese characters become multi-byte sequences like %E4%B8%AD). URL encoding is required because URLs can only contain a limited set of ASCII characters — the RFC 3986 specification defines which characters are allowed in different parts of a URL (scheme, host, path, query, fragment), and any characters outside this allowed set must be percent-encoded. The URL Encoder & Decoder handles both encoding (converting plain text or URLs with special characters to percent-encoded form) and decoding (converting percent-encoded strings back to human-readable form). It supports encoding of full URLs, individual query string parameters, form data values, and path segments, following the appropriate encoding rules for each URL component.

How to Use URL Encoder & Decoder

  1. Select 'Encode' or 'Decode' mode using the toggle at the top of the tool.
  2. Paste your plain text or URL (to encode), or your percent-encoded string (to decode) into the input field.
  3. Click 'Sample' to load an example and preview the encoded or decoded output.
  4. Click ⚡ Encode or Decode to process your input instantly.
  5. Review the output — special characters are replaced with %XX sequences in encoded form.
  6. Click Copy to copy the result to your clipboard for use in your code, API, or browser address bar.

Frequently Asked Questions