Independent Network Tools

url codec

Encode and decode the URL component, and the data will not leave the browser.
%

start using

After filling in the parameters, run directly, and the results are only displayed on the current tool page.

URL encoding description

URL component encoding and decoding

Convert texts such as query parameters, path fragments into safe percent codes, or restore encoded content to readable text.

Component Code

Tools use URL component rules, encode characters such as slashes, question marks, and signs that may change the URL structure.

Chinese and spaces

Chinese will first convert to UTF-8 bytes and then encode; spaces are usually displayed as %20, not the plus sign in the form rules.

Avoid duplicate coding

Re-encoding the encoded percents will generate %25, and it should be confirmed that the input has been processed before use.

url codec Frequently asked questions

When to use EncodeUriComponent?

Use when content is to be used as a single query parameter value or path fragment, avoid the sabotage of the URL structure.

Why is decoding an error?

The percent sign must be followed by two hex characters; incomplete or illegal escape sequences cannot be decoded.

url codec · IP Query Network Toolbox

Each feature provides separate pages and shareable links.