Skip to main content

URL Encoder/Decoder

Encode/decode URL text in whole-URL or component mode.

Use URL Encoder/Decoder

URL Encoder / Decoder

Encoding Style:
Text / URLs to Encode
Encoded Output
edit_note By Meet Dhameliya
update Updated: Oct 28, 2026
schedule 2 min read

Percent-encode or decode text one line at a time. Component mode is for a single value, such as a query parameter; URI mode keeps URL separators such as slashes and question marks. Choosing the correct mode prevents separators inside a value from being mistaken for URL structure.

lightbulb When to use this tool

  • check_circle Encode a search term before inserting it as one query parameter.
  • check_circle Inspect percent escapes in a copied URL without navigating to its destination.

Inputs and results

Input: Text/URLs, direction, encoding mode and batch option.

Output: Converted text with copy/download.

How it works

1

Select Encode or Decode.

2

Choose component encoding for a value, or URI encoding for a complete address.

3

Paste one value per line and review the output and any line-specific errors.

4

Check the resulting address in your application; encoding does not validate or make a destination trustworthy.

Examples

science A query value

In component mode, red & blue becomes red%20%26%20blue. Encoding the ampersand prevents it from becoming a new query-parameter separator.

science Avoid double encoding

Encoding an already encoded %20 in component mode produces %2520. Decode or preserve the correct layer instead of repeatedly encoding a whole address.

Limitations

Not validation or encryption. Modes preserve different characters; malformed percent escapes may fail.

Frequently Asked Questions

Does decoding change + into a space? expand_more
No. These URI functions do not implement form-urlencoded plus-to-space handling. A literal + stays +.
Why does a line report a malformed sequence? expand_more
Incomplete percent escapes or invalid encoded byte sequences cannot be decoded. Compare the value with its source rather than deleting characters until it succeeds.
privacy_tip

Processing & Privacy

Processing uses your browser rather than uploading the supplied input to a processing server. Fonts and tool libraries can make third-party network requests. Optional analytics loads after consent. See the Privacy Policy for site-wide details.

Related Tools

Explore more free developer & security on Utility Spark