URL Encoder

Encode and decode URL / percent-encoded strings.

Input

Output

About URL Encoder

URL Encoder converts characters that are not allowed in URLs (spaces, special symbols, Unicode) into their percent-encoded equivalents (e.g., space becomes %20), and decodes them back. This is essential when constructing query strings programmatically or debugging URLs that contain special characters. It handles both full URL encoding and component-level encoding.

Frequently Asked Questions

Is URL Encoder free?

Yes, completely free. No signup, no account, no usage limits. Use it as much as you need.

Is my data secure?

All processing happens directly in your browser using JavaScript. Your data is never sent to any server, stored, or shared. It stays entirely on your device.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL and leaves structural characters like /, ?, and # untouched. encodeURIComponent encodes a single component (like a query value) and escapes those structural characters too.

Why does a space sometimes appear as + instead of %20?

The + for space convention comes from HTML form encoding (application/x-www-form-urlencoded). In general URL encoding, %20 is the correct representation. The tool lets you choose which form to use.