MewTools

EncodingTool 03

URL Encoder

Make a value safe to place in a URL. Spaces, ampersands, slashes and non-ASCII characters are converted to percent escapes.

Runs locallyNo uploadPlain textFree, no account

Encode URL value

08 / 232

Result

Waiting

Run the tool and the result appears here. Copy it or download it — nothing leaves this tab.

Privacy

Local by design

Your file is read with the browser's File API and processed in this tab. Nothing is uploaded, and no copy is kept on a server.

How to use it

01

Paste the raw value you want to put into a URL.

02

The encoded form appears immediately, with spaces as %20.

03

Copy the result into your query parameter or path segment.

When to use it

Query parameters

Encode a search term that contains spaces or an ampersand.

UTM values

Make campaign names URL-safe before adding them to a link.

API testing

Build a request URL by hand without breaking the query string.

Questions

Should I use + or %20 for spaces?

Use %20 in paths and modern query strings. The + convention belongs to form submission encoding.

Does it encode the whole URL?

It encodes the text you give it, including : and /. Encode individual values, not a complete URL.

Is my text sent anywhere?

No. Encoding uses the browser's built-in functions in this tab.

Should I encode a whole URL or just a value?

Encode the value, not the URL. Encoding the whole string turns slashes and colons into escapes and breaks the address; encodeURIComponent semantics are what a parameter needs.

Is %20 or + the correct space encoding?

Both work in different contexts: %20 is valid anywhere, while + only means space in form-encoded query strings. Use %20 when the value may appear in a path.

↑↓ to move↵ to openEsc to close