ToolfyToolfy
Encoders & DecodersURL Encode / Decode

URL Encode / Decode

Encode and decode URL percent-encoded strings online. Supports both encodeURIComponent (encodes all special characters) and encodeURI (preserves URL structure characters like /, ?, #, &). Bidirectional — paste encoded or decoded text to convert instantly.

Decoded
encode / decode
Encoded

URL Encode / Decode guide

Encode special characters for safe use in URLs or decode percent-encoded strings back into readable text. The URL Encoder and Decoder helps with query strings, redirect URLs, API parameters, and copied links that need inspection.

Key features

  • Encode text for URL components and query parameters
  • Decode percent-encoded URLs into readable text
  • Support encodeURIComponent-style and encodeURI-style workflows
  • Convert values locally in your browser

Common use cases

  • Decode a URL query string while debugging redirects or API calls
  • Encode user-facing text before placing it in a URL parameter
  • Inspect percent-encoded links copied from logs or analytics tools

Frequently asked questions

What is percent encoding?

Percent encoding represents special URL characters with a percent sign followed by hexadecimal digits, such as %20 for a space.

When should I use URL component encoding?

Use component encoding for values inside query parameters or path segments where reserved characters need escaping.

Does this tool open or fetch URLs?

No. It only encodes and decodes text locally in your browser.