en

Encode URL

Safely encode text or links for URLs (percent-encoding per RFC 3986) - locally in your browser, with no upload.

Running locally on your device ...

Mode
  • Component (encode everything)
  • Whole URL (keep structure)

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

A URL may only contain certain characters. Spaces, accented letters, ampersands, slashes or question marks must be replaced, otherwise the link breaks or a parameter is misread. Percent-encoding per RFC 3986 solves this by rewriting such characters into a harmless sequence of a percent sign and two hex digits (a space becomes %20). This tool does that reliably for any text you want to put into a link or parameter.

You choose between two modes. In component mode truly every special character is encoded - that is right when your text is the value of a single parameter (such as a search term), because then an & or = inside it must not tear the URL apart. In whole-URL mode the structural characters of an address (slashes, ?, &) stay untouched and only the other unsafe characters are encoded - suitable when you are carrying a complete address.

Encoding runs entirely locally in your browser in pure JavaScript - your text is not uploaded, not stored, and no foreign library is loaded from a CDN. The reverse direction is handled by the URL decode tool. You can download the result as a text file or copy it straight out.

Specifications

Specifications
Input formatsText input
Output formatTXT
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Paste the text or link into the text field.
  2. Choose the mode (component or whole URL).
  3. Read or download the encoded result.

Limitations: Percent-encoding is not encryption: anyone can read it back, it only makes a text transport-safe. Component mode also encodes structural characters such as / and &, which makes a complete address unusable - that is what whole-URL mode is for. Very large texts are limited by your device memory.

FAQ

Is my text uploaded?

No. Encoding runs entirely locally in your browser; your text never leaves your device and is not stored.

When do I use component, when whole URL?

Component for the value of a single parameter (then & and = are encoded too). Whole URL when you are carrying a complete address and its structure (slashes, ?, &) should be preserved.

Is this encryption?

No. Percent-encoding only makes text URL-safe; anyone can read it back. For secrecy use an encryption tool.

How do I reverse the encoding?

With the URL decode tool: it turns the %-sequences back into readable text.

Related tools

Decode URL · Encode to Base64 · Slugify · Text to Base64 · Encode HTML · Escape JSON