Savvy Goose
Character Counter Text & Writing
Case Converter Text & Writing
Diff Viewer Text & Writing
Markdown Converter Text & Writing
Percentage Calculator Numbers & Time
Unit Converter Numbers & Time
Timestamp Converter Numbers & Time
Time Between Dates Numbers & Time
Barcode Generator Generators
QR Code Generator Generators
Base64 Encoder Data & Encoding
URL Encoder Data & Encoding
JWT Decoder Data & Encoding
Hash Generator Data & Encoding
Color Converter Data & Encoding
JSON Formatter Data & Encoding
Format Converter Data & Encoding
Regex Tester Data & Encoding
Browser Info Data & Encoding
Password Generator Generators
UUID Generator Generators
Image Resizer Generators
Slug Generator Generators
Lorem Ipsum Generators
No results found
Buy me a coffee
Savvy Goose

URL Encoder

Percent-encode and decode text for use in URLs.

Encode Decode
Mode
Which mode to pick

Use Component when the text becomes part of a URL: a query value, path segment, or fragment.

?q=hello%20world%26more

Use Whole URI when the text is a full URL. The structural characters : / ? & # = stay untouched.

If you encode a query value with Whole URI, the & inside it won't be escaped and will break the query string.

Component encodeURIComponent escapes everything but unreserved chars. Use for query values & path segments.
Whole URI encodeURI leaves URL structure (: / ? & # =) intact. Use for full URLs.
Input
Output

Share
The URL below carries the direction, variant, and your input.

Input is too long to include in the URL.

Share URL

How to use the URL Encoder

  1. Paste a URL or component.
  2. Pick component or full-URL encoding.
  3. Copy the encoded or decoded output.

Frequently asked questions

What's the difference between component and full-URL encoding?
Component encoding (encodeURIComponent) escapes characters like ? and &. Full-URL encoding (encodeURI) leaves URL-structure characters unescaped.

Made for free with