My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

URL Encode

Percent-encode text for a URL component.

How to use this tool

Paste the text to encode and select Process input. Insert the result into the appropriate URL component.

Important to know

Percent-encode text for a URL component.

This encodes a component, not an entire URL. Encoding a full URL also changes its separators.

Formula and methodology

Uses RFC 3986-style percent encoding; spaces become %20.

Frequently asked questions

Why is a space encoded as %20?

This tool uses URL-component encoding rather than form encoding, where spaces often become plus signs.