Encoding ToolsavailablePopular

URL Encoder/Decoder

Encode or decode values for safe use in URLs.

text or URL component input

Enter a text or URL component; processing stays in your browser.

Encoded outputRead-only

Conversion output appears here.

Read-only output remains selectable and can be copied manually.

Options

Operation
Encoding mode

Component encoding uses %20 for spaces; an existing % becomes %25 to avoid ambiguity.

URL encoding is not encryption.

Encoded data can be decoded easily. Repeated decoding may change how input is interpreted, so use it only when you know the value was encoded repeatedly.

Statistics

Input: 0 characters · 0 B · 0 lines

Output: 0 characters · 0 B · 0 lines

Percent sequences: 0

Query parameters: 0

How to use

  1. Choose Encode or Decode and select a URL mode.
  2. Enter text or an absolute URL.
  3. Copy, download, or move the result into the opposite operation.

Encoding modes

URL Component encodes a value intended for part of a URL. Full URL preserves protocol, path, query, and fragment separators while encoding their content. Form Query follows application/x-www-form-urlencoded: spaces become + and a literal plus becomes %2B.

Percent encoding and limitations

Percent encoding uses a % followed by two hexadecimal digits. Full URL mode requires an absolute URL; decoded URLs may contain spaces and may need re-encoding before navigation. This tool does not test whether a URL is safe, reachable, or suitable to navigate to.

Privacy

Your text and URLs stay in your browser. Nothing you enter is uploaded or automatically saved, and this tool never navigates to entered URLs.

Frequently asked questions

Is my URL uploaded?

No. Processing, copying, and downloads happen locally in your browser.

What is the difference between encodeURI and encodeURIComponent?

This tool uses component encoding for individual values and separately preserves URL structure in Full URL mode.

Why are spaces encoded as %20 or +?

%20 is standard component encoding; + is the convention for form query strings.

Why does % become %25?

A literal percent is reserved. Encoding it prevents ambiguity, so an already encoded value may be double encoded intentionally.

What is double encoding?

It is encoding a value that already contains percent sequences. Use repeated decoding only when that was intentional.

How do repeated query parameters work?

The preview keeps parameter order, duplicate keys, and empty values instead of collapsing them.

Does URL encoding provide security?

No. Encoding changes representation; it does not validate safety or provide confidentiality.

Practical guide

When to use it

Use it when text must safely become a query parameter or when you need to read an already percent-encoded URL value.

Three steps

  1. Choose component, full-URL, or form-query mode.
  2. Paste the value or URL into the editor.
  3. Encode or decode, then place the result in the matching URL context.

Example and a common mistake

A search value of red shoes becomes red%20shoes as a URL component.

Encoding an entire URL as a component also encodes its separators; choose Full URL when the protocol and path must remain readable.

Encoding

Available

Unicode Converter

Convert Unicode characters, escapes, and code points.