URL component encoder / decoder

Encode or decode one URL component using UTF-8 percent encoding.

Text Stateless

Maximum text length: 65,536 Unicode code points.

How it works and examples

Encode a single path segment or query value, not an entire URL. Spaces become %20; a literal + remains + when decoding. Example: caffè & tea becomes caff%C3%A8%20%26%20tea. Decoding rejects malformed percent escapes and invalid UTF-8.