Developer Tools 100% In-Browser • Zero Server Logs

URL Encoder & Decoder

Encode and decode standard URLs, URI components, and query parameters with full RFC 3986 compliance.

Input URL / Text 0 chars
Result 0 chars
Ready

About the URL Percent Encoder & Decoder

The XESTUS URL Percent Encoder & Decoder is a developer utility for encoding and decoding URLs and query parameters according to the RFC 3986 specification. URL encoding replaces unsafe ASCII and non-ASCII characters with a % followed by two hexadecimal digits, ensuring that query strings, authentication tokens, and parameters pass safely through web servers without breaking URL parsing rules.

Step-by-Step How to Use

Follow these simple instructions to achieve accurate, instant calculations or data transformations:

1
Select Action

Choose 'Encode' to escape special characters or 'Decode' to restore readable text.

2
Paste URL or Query String

Input the link, query parameters, or encoded string.

3
Copy Result

Copy the sanitized, valid URL ready for network requests.

Mathematical Formulas & Technical Mechanics

Under the hood, calculations and operations strictly adhere to validated standards:

RFC 3986 Percent-Encoding Scheme
Unreserved Characters (Never encoded):
[A-Z, a-z, 0-9, -, _, ., ~]

Reserved Characters (Encoded when used in query data):
Space = %20 or + | & = %26 | ? = %3F | = = %3D | / = %2F | # = %23 | : = %3A

Worked Example: URL Encoding

Raw URL: https://xestus.in/search?q=developer tools & apps
Encoded URL: https%3A%2F%2Fxestus.in%2Fsearch%3Fq%3Ddeveloper%20tools%20%26%20apps

Practical Real-World Use Cases

Discover how professionals, developers, students, and businesses use this tool daily:

REST API Query Parameters

Sanitize complex search terms and filter strings passed in HTTP GET requests.

OAuth Redirect URIs

Encode redirect_uri parameters in OAuth2 authorization flows.

Frequently Asked Questions

encodeURI encodes full URLs while preserving protocol separators (like :// and /). encodeURIComponent encodes all reserved characters, making it ideal for individual query parameter values.