Encode and decode URI components and query strings safely with standards-compliant RFC 3986 percent encoding.
How to Use This Tool
- Paste your code, payload, schema, or query into the source editor.
- Choose indentation spacing (2 or 4 spaces), formatting flags, or conversion mode.
- Inspect syntax validation or decoded output in real time, then click Copy Code or Download.
Supported Formats, Boundaries & Privacy
Inputs & Boundaries: Executes locally within your browser sandbox without external network compiler or relay dependencies.
Local Client-Side Processing: Tool computations and file operations execute 100% locally within your browser sandbox via JavaScript and HTML5 Web APIs. Your input values, uploaded files, and computed results are never transmitted to our web servers. General site access, analytics, and advertising cookies are managed transparently under our Privacy Policy and Cookie Policy.
Frequently Asked Questions
What characters are encoded in URL encoding?
Reserved characters like spaces (%20), ampersands (%26), slashes (%2F), and non-ASCII characters are percent-encoded.
What is the difference between encodeURI and encodeURIComponent?
encodeURIComponent encodes reserved delimiters like & and = so they can be safely passed inside query parameter values.