URL Encoder / Decoder Tool

Percent-encode text, decode query fragments, and parse full URLs into scheme, host, path, query, and fragment without leaving the browser.

Useful when you are debugging query strings, comparing encoded vs decoded values, or checking whether a URL is being double-encoded before an API request or redirect.

Other languages English 日本語 Español 简体中文

Why use this URL encoder?

Text converter

Encode or decode text

The share URL stores only lightweight settings such as decode mode and plus-handling. It does not include the text you enter.

Full URL parser

Parse and rebuild a full URL

Paste a full URL or a relative path, split it into components, then edit query parameters and rebuild the final string.

Host
Path /
Query
Fragment

Decoded path preview: /

Raw query string:

Editable query parameters

KeyValue

When to use percent-encoding vs Base64

Percent-encoding is for URL components. It escapes spaces, slashes, unicode characters, and other reserved bytes so they survive inside a path, query string, or fragment. Base64 is for turning bytes into text, usually for transport or embedding, and it makes the payload longer.

Query parameter behavior

Query strings often follow form-style rules where + represents a space. Plain decodeURIComponent does not apply that conversion, so this page lets you opt into it when you are debugging query or form data rather than raw URL components.

Typical double-encoding mistakes

If a value is already encoded and you encode it again, %20 becomes %2520. That usually happens when an already escaped value passes through another encoding layer. If you see many %25 sequences, check whether the value was encoded twice.

Frequently asked questions

What is the difference between URL encoding and Base64?

URL encoding escapes unsafe characters so text can live inside a URL component. Base64 converts bytes into a larger text alphabet. They solve different transport problems and are not interchangeable.

Why do I sometimes see + instead of %20?

In form-style query strings, plus is often used as a space. Plain decodeURIComponent does not change plus into space, so this page lets you enable that behavior when you are decoding query or form data.

What is double-encoding?

Double-encoding happens when already encoded text is encoded again. For example, %20 becomes %2520 because the percent sign itself gets escaped. That can break links and API requests.

Does this tool upload my URL or query string?

No. Encoding, decoding, parsing, and rebuilding happen locally in your browser. The share URL stores settings only, not the text or URL you enter.

Comments (optional)

To reduce load, comments are fetched only when needed.