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…
Need help? Email us