Skip to content

Encoding & decoding

URL Encoder & Decoder

Encode and decode URL components, with examples.

Encode text so it can go safely in a URL, or decode a percent-encoded URL back to readable text. Processing happens in your browser.

Type or paste text to encode it.

Which scope to use

Component scope encodes every reserved character, so use it for a single value. Full URL scope keeps the characters that structure a URL, such as : / ? & = and #, so use it for a complete address.

ExampleScopeEncoded output
A query value
Tom & Jerry = fun?
ComponentTom%20%26%20Jerry%20%3D%20fun%3F
A complete address
https://example.com/search?q=hello world&lang=en
Full URLhttps://example.com/search?q=hello%20world&lang=en

Privacy: this tool runs in your browser. The data you enter is not sent to a server.