Free URL Encoder · Encode & Decode · No Signup

Encode and decode URLs
instantly in your browser.

Paste any URL or string and instantly encode it for safe transport, or decode percent-encoded URLs back to plain text. Supports both encodeURI and encodeURIComponent. No signup, no ads, runs entirely in your browser.

URL Encoder / Decoder

Method:
Paste a URL or string · Switch between Encode / Decode · 100% private
Encoded URL
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%20world%26lang%3Den%26filter%3Dcaf%C3%A9
87 characters · encodeURIComponent
/ 01 — How It Works

Why use a URL Encoder?

01

For Developers

Encode query parameters before appending them to API requests. Prevent broken URLs caused by spaces, special characters, or non-ASCII input.

02

For QA & Testers

Decode percent-encoded URLs from logs and error reports to quickly understand what values were passed to an endpoint.

03

For Content & SEO

Encode international characters and spaces in URLs to ensure links work correctly across all browsers and platforms.

04

100% Private & Instant

All encoding happens in your browser using native JavaScript. Your URLs never touch any server. Works completely offline.

/ 02 — Reference

Understanding URL encoding

Encoding Methods

encodeURIComponent

Encodes all characters except letters, digits, and - _ . ! ~ * ' ( ). Use for individual query string values.

hello world → hello%20world
encodeURI

Preserves URL structure — does not encode / ? & = # : @. Use for complete URLs where structure must be kept.

https://x.com/a b → https://x.com/a%20b

Common Encoded Characters

Space & Punctuation

The most common characters that need encoding when used inside query string values.

space→%20 · &→%26 · =→%3D · +→%2B
International Characters

Non-ASCII characters like accented letters and CJK characters are encoded as UTF-8 byte sequences.

café → caf%C3%A9 · 日本 → %E6%97%A5%E6%9C%AC

When to Encode

Query Parameters

Always encode user-provided values in query strings. A raw & or = will break parameter parsing.

?q=rock&roll → ?q=rock%26roll
URL in a URL

When embedding a full URL as a parameter value, use encodeURIComponent to encode the entire inner URL.

?redirect=https%3A%2F%2Fexample.com
/ 03 — FAQ

Questions people ask

What is URL encoding?

URL encoding (percent-encoding) converts characters that are not allowed in a URL into a format that can be transmitted. For example, spaces become %20 and & becomes %26.

What is the difference between the two modes?

encodeURIComponent encodes all special characters including /, ?, &, and =. encodeURI preserves full URL structure and only encodes characters that are truly invalid in a URL.

Is my data sent to a server?

No. All encoding and decoding runs locally in your browser using built-in JavaScript functions. Your data never leaves your device.

When should I use URL encoding?

Use URL encoding when passing user input as query string parameters, building API requests, or embedding URLs inside other URLs to prevent parsing issues.

Can I decode multiple parameters at once?

Yes. Paste the full query string or URL and the tool will decode the entire string at once, including all encoded characters.

Encode your URL instantly.

Open URL Encoder →