URL Encode/Decode

Encode or decode URL components instantly without sending input to a server.

URL Encode/Decode

Encode or decode URL components safely.

0 lines · 0 characters

All processing happens locally in your browser.

How It Works & Methodology

URL Encoding (also known as Percent-Encoding) is a mechanism for converting non-ASCII or reserved characters into a safe, standard format that can be transmitted over the Internet within Uniform Resource Identifiers (URIs).

Under RFC 3986, characters that have special reserved syntactic meaning in URLs (like ?, &, =, /, #) or characters outside the standard US-ASCII range (like spaces and international UTF-8 characters) are represented using a percent sign % followed by a two-digit hexadecimal value corresponding to their byte code.

Reserved vs. Unreserved Characters (RFC 3986)

Unreserved Characters (Never Encoded)

Letters (A-Z, a-z), Decimal Digits (0-9), and four special punctuation marks: - (hyphen), _ (underscore), . (period), ~ (tilde).

Common Reserved Characters & Their Percent Codes

Space → %20 (or +)
! → %21
# → %23
$ → %24
& → %26
+ → %2B
/ → %2F
: → %3A
; → %3B
= → %3D
? → %3F
@ → %40

Frequently Asked Questions

How to use URL Encode/Decode

  1. 1

    Paste the text or encoded URL component.

  2. 2

    Choose Encode or Decode.

  3. 3

    Process and copy the converted value.

Why use this tool?

Component-safe encoding

Reserved and non-ASCII characters are converted with standard percent encoding.

Readable decoding

Turn percent-encoded values back into human-readable text.

Instant private result

Conversion uses built-in browser functions without a network request.

Frequently asked questions

Should I encode a full URL or one component?

This tool uses URL-component encoding, which is best for query values, path segments, and individual parameters.

Why does decoding sometimes fail?

A malformed percent sequence, such as a percent sign without two hexadecimal digits, is not valid URL encoding.

Related tools

Everyday Utilities