Small Tools
Encoding utility

URL Encoder

Encode text for safe use in URL components.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…

How to use URL Encoder

  1. Enter a query value or path component.
  2. Select Convert.
  3. Insert the result into the intended component without encoding it again.

Example

Input / settings:

Tom & Jerry

Output:

Tom%20%26%20Jerry

When to use

Overview

Percent encoding protects a value used inside a URL component. This tool uses JavaScript's encodeURIComponent, rather than encoding or normalizing an entire URL.

Common mistakes

Practical tips

Privacy and security

This tool runs entirely in your browser. Your input is never uploaded to our servers. Conversion stays local. Encoding a value is not sanitization, authorization, or encryption.

Frequently asked questions

Should I paste the whole URL?

Usually no. This tool is intended for individual components, such as a query value.

Why is a space %20 instead of +?

It uses component encoding, not application/x-www-form-urlencoded serialization.

Does encoding make a URL safe to visit?

No. It changes representation, not the destination's trustworthiness.

Learn more

Related tools