Back to all tools

URL Encode Online

Encode text to a URL-safe format.

When to use this tool

Essential when building URLs with special characters, spaces, or non-ASCII text in query parameters. Used daily for preparing search queries, form submissions, and API request parameters that must conform to RFC 3986.

How to use

Type or paste the string you want to use in a URL. The tool replaces special characters with percent-encoded equivalents. Copy the result and append it to your URL as a query parameter or path segment.


								
								
								
							

Workflow chain

Continue with tools that fit this output and developer workflow.

How this works

How this works

URL encoding replaces characters that are unsafe or ambiguous in URLs with percent-encoded byte values.

Spaces may be encoded as plus signs in form/query contexts or as %20 in stricter URI contexts, depending on the target system.

Examples

Search query

Input

Hello World!

Output

Hello+World%21

Safe to use as a query parameter value.

Email address

Input

jane@example.com

Output

jane%40example.com

The at sign is escaped so it does not change URL meaning.

Edge cases to know

  • Encoding an entire URL can also encode slashes and colons, so encode individual parameter values when possible.
  • Double-encoding turns %20 into %2520, which usually breaks downstream decoding.
  • Unicode characters are encoded as UTF-8 bytes before percent encoding.

Privacy note

This free tool encodes text in your browser. Be careful with signed URLs, auth callbacks, and tokens because encoded text is still readable after decoding.