ToolNest
100% Free

String URL encoder

Load your string and it will automatically get URL-escaped.

Input String(URL-escaped)

Output string

Tool options

Encoding Options

If selected, then all characters in the input string will be converted to URL-encoding (not just special).

String URL encoder

URLs can legally contain only a small set of characters. Spaces, ampersands, question marks, non-Latin letters and a hundred other characters must be percent-encoded — a space becomes %20, an ampersand %26 — before they can travel safely in a link, a query parameter or a form submission. This tool applies that encoding to any string you paste.

The distinction that matters: encoding only special characters versus encoding everything. Special-character mode is what you want almost always — it leaves letters, digits and safe characters alone, which is how a URL stays recognizable. The encode-all option converts every single character, useful when a value is being embedded in something stricter than a URL: a template that gets substituted later, a legacy system with a narrow parser, or debugging an encoding mismatch where you need to see exactly what is being sent.

A concrete case: a search query like cats & dogs must be encoded before it lands in a query string, or the ampersand splits the parameter in two. Paste the value, copy the encoded result, and the link works.

Encoding happens locally in your browser and the string never leaves your machine. No length limit beyond browser memory, and the output updates as you type.


String URL encoder Examples

Click to try!

Encode an actual URL

This example URL-encodes a string that also happens to be a valid web link. Special characters in this example are a colon, slash, question mark and equals sign.

Encoding Options

If selected, then all characters in the input string will be converted to URL-encoding (not just special).

Encode All Characters

In this example, we've enabled the option that encodes absolutely all characters in a string to URL-encoding. This option makes non-special characters, such as letters get encoded to their hex codes prefixed by a percent sign.

Encoding Options

If selected, then all characters in the input string will be converted to URL-encoding (not just special).


All Text Tools

Remove duplicate lines

Quickly delete all repeated lines from text

Base64 Encoder/Decoder

Encode or decode data using Base64.

Text Statistics

Get statistics about your text

Password Generator

Generate secure random passwords with custom options

String URL decoder

Quickly URL-unescape a string.

Hidden Character Detector

Find hidden Unicode characters in text

Email Extractor

Extract email addresses from text

Compare Texts

Compare two texts and spot differences instantly

Slug Generator

Generate URL-friendly slugs from text.

You May Also Like

Resize Image

Resize one or multiple images at once.

Compress Images

Compress one or multiple images at once.

Split PDF

Extract specific pages from a PDF file

Rotate PDF

Rotate pages in a PDF document

Trim Video

Trim video by removing unwanted sections

Compress Video

Compress videos by scaling to different resolutions

We use cookies

We use cookies for analytics and advertising. You choose what's enabled. Essential cookies are always on. Privacy Policy