URL Encoder and Decoder

Encode URL values, decode percent-encoded text, and inspect URL components without sending data to a server.

Browser onlyUnicode supportURL inspector

Plain URL or text

Encoded result

Enter a value to begin

The converted result will appear automatically.

URL encoding

Safely represent reserved characters inside URLs

URL encoding prevents spaces, Unicode characters, and reserved symbols from being misinterpreted as URL structure.

Encode individual values

Use component encoding for query values, parameter names, and dynamic path segments so reserved characters are treated as data instead of URL syntax.

Avoid double encoding

Encoding an already encoded value can convert percent signs into %25, making the resulting value harder to interpret and potentially breaking links or API requests.

Guide

About URL Encoder and Decoder

Percent encoding represents characters that are reserved, unsafe, or unavailable in a URL component.

This tool encodes and decodes values and helps inspect URL components and query parameters.

Encode individual components rather than blindly encoding an entire URL.

URL component encoding

Query values, parameter names, and path segments should be encoded according to their position in the URL.

Reserved characters

Characters such as ?, &, =, #, /, and : can have structural meaning and should not always be encoded.

Unicode handling

Unicode text is converted to UTF-8 bytes before percent encoding.

Avoid double encoding

Encoding an already encoded percent sign produces %25 and can break downstream interpretation.

FAQ

Frequently asked questions

What is percent encoding?

It represents a byte as a percent sign followed by two hexadecimal digits.

Should I encode a whole URL?

Usually no. Encode the individual component values that need protection.

Why does a space become %20?

Its UTF-8 byte value is represented with percent encoding.

What is double encoding?

It happens when already encoded text is encoded again.

Is + the same as %20?

In form-encoded query data, plus often represents a space, but generic URL decoding rules differ.

Is my URL uploaded?

Encoding and decoding are intended to occur locally in your browser.

Continue exploring

Useful tools for the next step in the same workflow.