Skip to main content
ToolNara
Local browser utilityRFC 3986

URL Encoder & Decoder (with Query Inspector)

Encode and decode URLs, URIs, and percent-encoded parameters with space mode switching and query string table breakdown.

Scope:
Spaces:
Input String (Raw / URL)124 chars
Result (Percent-Encoded)

Local processing: ToolNara processing code keeps the working value in browser memory. It does not intentionally send the value to an application server.

No input telemetry

Engineering guide

URL Percent Encoding Guide: RFC 3986 vs application/x-www-form-urlencoded

Understand URI component encoding, reserved vs unreserved characters, space encoding standards (%20 vs +), and query string safety.

Read guide

How to use URL Encoder & Decoder (with Query Inspector)

Step 1

Input String or URL

Paste your raw text, query string, or percent-encoded URL into the input textarea.

Step 2

Configure Encoding Options

Select your mode (Encode or Decode), space character format (%20 or +), and encoding scope.

Step 3

Inspect Parameters & Copy

View the converted output in real time, inspect broken-down query parameters in the table, and copy the result.

Capabilities and standards

Bi-directional conversion: Toggle seamlessly between URL Encode and URL Decode modes
Scope control: Switch between Component (encodeURIComponent) and Full URI (encodeURI)
Space encoding standard toggle: Standard RFC 3986 (%20) vs application/x-www-form-urlencoded (+)
Query Parameter Inspector: Automatically parses query strings into an organized Key-Value table
Instant Swap, Clear, and Load Sample actions with copy-to-clipboard feedback
100% Client-Side UTF-8 character encoding support
Advertisement
Advertisement placement reserved for editorial content

Developer reference

Programmatic implementation

Use these examples as implementation references. Check the runtime and test vectors before using them in production.

JavaScriptEncode & Decode URL components in modern JavaScript
const raw = 'Hello World & Developers!';
const encoded = encodeURIComponent(raw);
console.log('Encoded:', encoded); // Hello%20World%20%26%20Developers!

const decoded = decodeURIComponent(encoded);
console.log('Decoded:', decoded);
PythonURL encoding using urllib.parse in Python
from urllib.parse import quote, unquote

text = 'category=developer tools&status=active'
encoded = quote(text, safe='')
print('Encoded:', encoded)
print('Decoded:', unquote(encoded))
BashDecode URL strings with Python one-liner in bash
python3 -c "import sys, urllib.parse as ul; print(ul.unquote_plus(sys.stdin.read()))" <<< 'https%3A%2F%2Ftoolnara.site%2F%3Fref%3Ddev'

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

encodeURI preserves protocol and domain characters (like :, /, ?, &) to keep URLs navigable. encodeURIComponent encodes all punctuation characters to safely pass values inside query strings.

Why does a space become %20 or +?

RFC 3986 specifies %20 for URI path and query strings, whereas traditional HTML forms (application/x-www-form-urlencoded) historically encoded spaces as a plus sign (+). ToolNara lets you toggle between both.

Can this tool parse complex nested query parameters?

Yes. The Query Inspector automatically splits ?key=value pairs by the ampersand (&) delimiter and cleanly tabulates each parameter key and decoded value.

Related utilities