URL Encoder

Percent-encode text so it survives life inside a URL

Free Online URL Encoder

A space, a question mark, or an ampersand can quietly break a link or corrupt a query parameter. This encoder percent-escapes the characters that have special meaning in URLs, so the text you meant arrives as the text the server reads.

  • Reserved characters escaped - spaces become %20, ? becomes %3F, & becomes %26, = becomes %3D
  • Safe characters left readable - letters, digits, dots, and parentheses pass through untouched
  • Whole-string encoding - built for query values, file names, and redirect parameters, not just single words
  • Decoder included - the matching URL Decode tool reverses the process for debugging
Open URL Encoder

How to URL-Encode Text

  1. Open the URL encoder
  2. Paste the text, file name, or parameter value you need to send in a URL
  3. Click "Convert" and copy the percent-encoded result
  4. Drop it into your link, query string, or redirect URL

Example Conversion

Input (Text):

my file name (final).pdf?version=2&draft=true

Output (URL-Encoded):

my%20file%20name%20(final).pdf%3Fversion%3D2%26draft%3Dtrue

Watch the file name: spaces and the ? & = of the query-style suffix are escaped, while the name itself stays human-readable.

Common Use Cases

Building Query Strings

Encode search terms and filter values before concatenating them into a URL by hand.

Sharing File Links

Link to files whose names contain spaces or parentheses without the URL breaking.

Redirect Parameters

Pass a full return URL as a parameter value without its & splitting your query.

Debugging Links

Encode a value the same way the browser would to compare against a broken request.

Related Tools