URL Encode/Decode

URL encoding replaces unsafe or reserved characters in a URL with percent-encoded equivalents (e.g., a space becomes %20). This is essential when constructing query strings, embedding data in URLs, or passing special characters through HTTP requests. This tool supports both full URL encoding (preserving protocol and path separators) and component encoding (encoding all special characters) for maximum flexibility.

How to Use This Tool

  1. Select Encode or Decode mode using the toggle buttons.
  2. Choose whether to encode the full URL (encodeURI) or a URL component (encodeURIComponent).
  3. Paste or type your text into the input area and see the result instantly.
  4. Click Copy to copy the result to your clipboard.

Related Tools