← العودة إلى الميزات
Free

URL Encoder / Decoder

URL Encoder/Decoder converts URL strings to and from their percent-encoded form. Choose between encodeURIComponent (aggressive) and encodeURI (preserves URL structure) to match your use case — debugging query parameters, building safe URLs, or inspecting encoded links.

When building URLs with user input, query strings, or international characters, you need proper percent-encoding to prevent breakage. This tool handles both directions instantly. Choose encodeURIComponent when encoding a single parameter value (encodes ? / & = # etc.) or encodeURI when you want to preserve URL structure (only encodes truly unsafe characters). Decoding works with both standard percent-encoding and also handles double-encoded strings. Real-time conversion means you see output immediately as you type, and both modes can be toggled to verify roundtrip integrity. No server round-trip — everything happens locally in your browser.

معاينة مباشرة
example.com
URL Encoder / Decoder encodeURIComponent encodeURI
Input
https://example.com/search?q=hello world&lang=en
Encoded Output
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dhello%20world%26lang%3Den
Copy
الميزات الرئيسية

Two Encoding Modes

Choose encodeURIComponent for safe parameter values (encodes ? / & = etc.) or encodeURI for full URLs (preserves structure, only encodes unsafe chars).

Smart Decoding

Decodes percent-encoded strings, including non-ASCII characters, UTF-8 multi-byte sequences, and emoji. Handles double-encoded input gracefully.

One-Click Copy

Copy encoded or decoded output to clipboard instantly — no manual selection needed.

Real-Time Conversion

Output updates live as you type. No need to click Encode each time — see immediate results while iterating on input.

Side-by-Side View

Input and output appear in clearly labeled panes so you can compare before/after at a glance.

Handles Edge Cases

Correctly encodes spaces, quotes, Unicode, reserved characters, and tricky sequences that break simple string replacement.

حالات الاستخدام الشائعة

Debugging Query Parameters

Paste a broken URL with garbled parameters to decode them back to readable values — quickly identify what was actually sent.

Building Safe URLs

Encode user input (names, search queries, file paths) before appending to a URL to prevent injection and parsing errors.

Inspecting Analytics Links

Decode UTM-tagged marketing URLs to see the actual campaign, source, and medium values without reading raw percent-encoded strings.

Testing Internationalized URLs

Encode URLs with non-Latin characters (Chinese, Arabic, Hebrew) to confirm they're percent-encoded correctly for transmission.

OAuth Redirect Debugging

Decode OAuth redirect URIs with nested encoded parameters to trace what's being passed between providers and apps.

كيفية الاستخدام
1

Open URL Encoder

Click the URL icon in the DevSuite Pro dock. A two-pane editor opens with Encode and Decode toggles.

2

Paste Your URL or String

Paste the URL, query parameter, or encoded string. The tool works on entire URLs or individual parameter values.

3

Pick Encoding Mode

For a parameter value, use encodeURIComponent. For a full URL (where you want /, ?, & preserved), use encodeURI.

4

Read the Result

The converted output appears in the adjacent pane. Encoded characters show as %XX sequences; decoded output returns the original readable form.

5

Copy & Use

Click Copy to send the result to your clipboard. Paste into your code, request URL, or documentation.

هل أنت جاهز للتجربة؟ URL Encoder / Decoder?

قم بتثبيت DevSuite Pro مجانًا وافتح أكثر من 39 أداة للمطورين لمتصفحك.

إضافة إلى Chrome أضف إلى Edge إضافة إلى FireFox