URL Encoder

Percent-encode text, query parameters, and Unicode URLs safely.

Reserved Ad Space — Tool Page Banner (AdSense Ready)

How to Use URL Encoder

  1. Paste your text or URL into the input box.
  2. Select Component Mode (recommended for query values) or Full URL Mode.
  3. Click Encode URL and copy the percent-encoded output.

Key Features

  • Supports both encodeURIComponent and encodeURI modes
  • Full UTF-8 support for international URLs and emojis
  • Instant copy and clear controls
  • Zero server requests

About URL Encoder

URLs only allow a limited set of ASCII characters. The URL Encoder converts spaces, ampersands, non-English characters, and symbols into valid percent-encoded sequences.

Who Can Use This Tool?

Web developers building query strings, marketers crafting UTM tracking links, and API integrators.

How It Works

Choose Component Mode (encodeURIComponent) to encode query parameter values completely, or Full URL Mode (encodeURI) to keep protocol and path slashes intact.

Practical Example

Input:
hello world & welcome=100%
Output:
hello%20world%20%26%20welcome%3D100%25

Spaces become %20 and reserved characters like & and = are safely escaped.

Frequently Asked Questions

When should I use Component Mode vs Full URL Mode?

Use Component Mode when encoding a single query parameter value (like ?q=...). Use Full URL Mode when encoding an entire URL where https:// and / should stay unescaped.

Does URL encoding handle Bengali or other Unicode text?

Yes. Unicode characters are converted to UTF-8 byte sequences and percent-encoded per RFC 3986.