AscendLab

Developer tools

URL 编码解码

Free browser tool

URL Encoder & Decoder for Links and Query Strings

Encode readable text for URL parameters or decode percent-encoded links while keeping the conversion private in your browser.

Loading...
Quick answer

A URL encoder converts spaces and reserved characters into percent-encoded text.

A URL decoder converts values such as %20 back into readable characters.

Best inputs for URL conversion

Use component mode for values

Encode search terms, campaign names, redirect values, and query parameters as components.

Use full URL mode sparingly

Full URL mode keeps separators readable, which is useful for inspecting complete links.

URL encoding method
Percent encoding makes spaces and reserved characters safe inside URLs.

Component mode encodes more characters and is best for query values such as search terms, campaign names, or path segments.

Full URL mode keeps separators like colon, slash, question mark, ampersand, and hash readable.

Practical uses

Use this tool when building query strings, debugging tracking links, preparing API parameters, or reading encoded redirect URLs.

Encoding does not validate whether a destination URL exists or whether a link is safe to open.

URL encoding example
Choose component mode for values that will be inserted into a larger URL.

Example

Encode the phrase fast private tools before appending it as a search query value.

Assumption

Component mode is the safer default for individual query parameters and path parts.

Limitation

The tool converts text only. It does not check link reputation, redirects, or page availability.

Common use cases
Use URL encoding when text has to fit safely inside links or query strings.

Query strings

Encode search terms, filters, and API parameters before adding them to a URL.

Tracking links

Decode campaign URLs and inspect readable parameter values.

Redirect debugging

Read nested redirect parameters without opening the destination.

API testing

Prepare path segments and query values for local request examples.

Frequently asked questions

When should I use component mode?

Use component mode for query parameter values, path segments, and small pieces that will be inserted into a URL.

When should I use full URL mode?

Use full URL mode when you want to encode or decode a complete URL while keeping URL separators readable.

Why does a space become %20?

Spaces are not safe in raw URLs, so percent encoding represents them as %20.

Does this tool verify the URL?

No. It only encodes and decodes text. It does not open the URL or check whether it is safe.

Suggested workflow

Link encoding path

Encode a URL value, inspect the query string, and reuse the final link in campaign or QR workflows.

Related tools