🧰Formatty

URL Encoder

Mode:
Type:
Live conversion - results update as you type
Plain Text
0 characters
URL Encoded

Output will appear here...

Encoding Comparison

CharacterencodeURIComponentencodeURI
(space)%20%20
&%26&
=%3D=
/%2F/
?%3F?

* Component encoding (encodeURIComponent) is safer for query parameters. Full URL encoding (encodeURI) preserves URL structure.

About URL Encoding

URL encoding (percent-encoding) converts special characters into a format that can be safely transmitted in URLs. Characters like spaces, non-ASCII characters, and reserved characters are replaced with a % followed by their hexadecimal value.