Online URL encode & decode

Percent-encode or decode query strings and fragments.

About online online URL encode and decode

hidevtool URL codec percent-encodes reserved characters for query strings and decodes `%XX` sequences back to readable text.

Use it when building GET parameters, fixing copy-pasted links, or inspecting encoded API URLs.

Online URL encode & decode capabilities

encodeURIComponent encoding

Encode applies JavaScript encodeURIComponent rules so spaces become %20 and non-ASCII UTF-8 bytes become percent escapes.

Decode query fragments

Decode reverses percent encoding (and treats + as space) to recover the original string when escapes are valid.

Common use cases

How do I URL-encode a string online?

Paste the text and click Encode. Reserved and non-ASCII characters become %XX sequences suitable for query values.

How do I decode URL-encoded text?

Paste an encoded fragment such as hello%20world and click Decode to restore spaces and Unicode characters.

Is this the same as encoding a full URL?

This tool encodes the entire pasted string as one component. Encode path or query pieces separately if you need fine control.

Frequently asked questions

How do I URL-encode a string online?
Paste the text and click Encode. Reserved and non-ASCII characters become %XX sequences suitable for query values.
How do I decode URL-encoded text?
Paste an encoded fragment such as hello%20world and click Decode to restore spaces and Unicode characters.
Is this the same as encoding a full URL?
This tool encodes the entire pasted string as one component. Encode path or query pieces separately if you need fine control.