URL Encode β€” Text Encoding for URLs

Convert text to URL-safe format. All special characters, spaces, and non-ASCII characters will be encoded using percent-encoding.

URL Decode

About URL Encoding

Why encoding is needed

URLs can only contain a specific set of characters. Spaces, non-ASCII characters, and special symbols can break a link or change its meaning. Encoding makes any text safe for URLs.

RFC 3986 Standard

URL encoding is defined in RFC 3986. Allowed characters: A-Z, a-z, 0-9, hyphen (-), period (.), underscore (_), tilde (~). All other characters must be encoded.

How to URL encode text

1

Enter text

Paste the text you need to encode for use in a URL.

2

Click "Encode"

All unsafe characters will be replaced with their percent-encoded equivalents.

3

Copy the result

Use the encoded string in URL parameters, API requests, or links.

Frequently Asked Questions