KitBench

URL Decoder

Decode percent-encoded URLs and query strings back into readable text.

Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.

Interactive Browser Workspace

Loading the interactive URL Decoder workspace. Enable JavaScript in your browser to run calculations and conversions locally.

How to Use URL Decoder

  1. Paste a percent-encoded URL or query string.
  2. Toggle whether `+` should decode as a space (common in form queries).

Methodology & Accuracy

Uses `decodeURIComponent` with malformed-sequence error catching.

Examples

  • "hello%20world%21" decodes to "hello world!".

Scope & Limitations

  • Truncated `%` sequences trigger an informative malformed-encoding notice.

Frequently Asked Questions

Why is `+` sometimes a space?

HTML `application/x-www-form-urlencoded` forms encode spaces as `+`, whereas path segments use `%20`.

What happens if a URL string was double-encoded (like `%2520`)?

A single decode turns `%2520` into `%20`; you can decode a second time if your source system applied percent-encoding twice.

How does the tool handle malformed percent sequences such as `%E0%A4%A`?

Invalid UTF-8 byte sequences are caught cleanly with an error notice rather than crashing the workspace.

Related Tools

  • URL Encoder - Percent-encode query parameters (encodeURIComponent) or full URLs (encodeURI).
  • HTML Entity Decoder - Decode named (&, <), decimal ('), and hexadecimal (') HTML entities.