URL Encoder & Decoder

Percent-encode text for URLs, decode it back, and see a URL split into its parts.


URL breakdown

Paste a full URL above to see its parts and query parameters.

How it works

Encode component escapes everything that is not safe inside a single query value or path segment, including &, =, ? and /. Use it for values you are inserting into a URL.

Encode full URL keeps the structural characters of a URL intact and only escapes things like spaces and non-ASCII letters. Decode reverses either, and treats + as a space the way HTML forms do.

Paste a complete URL and the breakdown below lists its protocol, host, port, path, fragment and each query parameter, already decoded, so long tracking-laden links become readable.

Who owns this link? Only the name just before the public ending counts: in paypal.com.secure-login.top the owner is secure-login.top, and endings like co.uk or github.io are shared. To check that properly in code, with warning signs for @ tricks, look-alike letters, disguised IP addresses and redirect parameters, use Anvil's free link X-ray API. It never opens the link. The who owns this link guide walks through every trick with examples.

Questions

Should a space be %20 or +?

%20 is correct everywhere. + means a space only inside form-encoded query strings.

Why does my decoded text show an error?

A % must be followed by two hex digits. A stray % in the input makes the sequence malformed.

Is anything logged?

No. Encoding and parsing use your browser's built-in functions and nothing leaves the page.

Related tools

Guides