logohsb.horse

URL Encoder and Decoder

Encode and decode URL components, full URLs, and form values locally in your browser.

Choose the percent-encoding rules explicitly so reserved characters and plus signs are not interpreted under the wrong convention.

Input and output stay in this browser.

Encoding mode
Operation
URL component
For a query value or one path segment. Also encodes /, ?, &, and =.
Full URL
Preserves reserved structure such as the scheme, path separators, query, and fragment.
Form value
application/x-www-form-urlencoded format, where spaces use plus signs.
Input
Result

How to use

  1. 1

    Choose the context

    Select URL component, full URL, or form value for the intended destination.

  2. 2

    Choose an operation and enter text

    Select encode or decode, then enter the string to transform.

  3. 3

    Transform and copy

    Run the transformation, inspect the result, and copy it to your clipboard.

How the modes differ

URL component follows encodeURIComponent rules, while full URL follows encodeURI rules. Form value uses HTML form encoding and distinguishes spaces from literal plus signs. Modes are never guessed.

FAQ

Why did a plus sign become a space?
Only form-value decoding treats plus as a space. URL component and full URL modes keep literal plus signs.
Does this repair broken percent escapes?
No. Malformed escapes and invalid UTF-8 produce an error instead of a guessed correction.
Does the tool visit the URL I enter?
No. It transforms the string entirely in your browser.