URL Encode Online β€” Encode Text for Safe URL Usage

Instantly encode any text for use in URLs. Handles spaces, special characters, emoji, and international text with full UTF-8 support.

Quick URL Encoding

Need to quickly encode a string for a URL query parameter, API request, or form submission? Type or paste your text below and copy the encoded output. The conversion is real-time β€” no buttons to click, no forms to submit. This is the fastest way to get a URL-encoded string.

Most Common Characters That Need Encoding

βœ“Space β†’ %20 (or + in form data)
βœ“& (ampersand) β†’ %26 β€” separates query parameters
βœ“= (equals) β†’ %3D β€” separates key from value
βœ“? (question mark) β†’ %3F β€” starts query string
βœ“# (hash) β†’ %23 β€” starts fragment
βœ“/ (slash) β†’ %2F β€” path separator
βœ“% (percent) β†’ %25 β€” the escape character itself

Web Development Examples

Building a search URL: https://api.example.com/search?q= + encode(cafΓ© lattΓ©) = https://api.example.com/search?q=caf%C3%A9%20latt%C3%A9. Building an OAuth redirect: &redirect_uri= + encode(https://myapp.com/callback) = &redirect_uri=https%3A%2F%2Fmyapp.com%2Fcallback.

Type or paste text below to URL encode it.

Spaces:
Plain Text0 chars
Encoded Output
Encoded output appears here…