DevToolDeck
All tools

URL Encoder / Decoder

Percent-encode and decode URLs

Everything runs locally in your browser. Your data never leaves your device.

About this tool

Encode text for safe use inside URLs, or decode percent-encoded URLs back to readable text. Choose component encoding for a single query value, or full URI encoding when you need to handle a broader string.

Handy when building query strings, fixing broken links, or debugging redirects, without sending the URL to another service.

How to use it

  1. Paste the text or encoded URL you want to convert.
  2. Select encode or decode and the appropriate mode.
  3. Run the conversion and review the output.
  4. Copy the result into your app, browser, or docs.

Common use cases

  • Build safe query parameters with spaces and symbols.
  • Decode messy tracking URLs from emails or logs.
  • Prepare values for redirects and OAuth callback URLs.
  • Fix double-encoding issues while debugging web apps.

Frequently asked questions

Component vs full URI encoding?

Component encoding is for a single value (like a query param). Full URI encoding is for broader strings. Pick the mode that matches your use case.

Is my URL sent to a server?

No. Encoding and decoding run locally.

Does it handle Unicode?

Yes. Non-ASCII characters are percent-encoded according to standard URL rules.

Why does decoding fail?

Invalid percent sequences (like a lone %) will error. Clean the string and try again.

Will this fix a broken link automatically?

It converts encoding correctly; you still need the right destination path and parameters.