Skip to content

URL Encoder & Decoder

Percent-encode or decode URL components and full URLs locally with strict Unicode validation.

Best for a query value, path segment, redirect target, or other value placed inside a URL.

0 input characters

Encoded output

0 output characters

This tool uses percent-encoding, not encryption. It does not treat + as a space; HTML form encoding follows different rules. Processing stays in your browser.

Your data is processed locally in your browser whenever supported and is not uploaded to our servers.

How it works

Encode URL text in three steps

01

Choose a direction

Encode readable text into percent escapes or decode escaped text back to Unicode.

02

Choose the scope

Encode an individual URL component or preserve the structure of a complete URL.

03

Copy or reverse

Copy the validated result or move it into the input and reverse the operation.

Standards-based behavior

Choose what belongs to the URL structure.

Component mode encodes delimiters so a value can safely occupy one URL part. Full URL mode preserves structural delimiters while encoding spaces, Unicode, and unsafe characters.

Unicode support

Encodes international text and emoji as their UTF-8 percent-escaped bytes.

Strict decoding

Rejects incomplete escapes, invalid hex pairs, and byte sequences that are not valid UTF-8.

Two scopes

Mirrors encodeURIComponent/decodeURIComponent and encodeURI/decodeURI behavior.

Local processing

No URL or text is requested, visited, uploaded, or stored by Got A Tool.

FAQ

Common questions

Should I encode a component or a full URL?

Use component mode for a query value, path segment, redirect target, or other value inserted inside a URL. Use full URL mode when the input already contains URL structure such as a scheme, host, path, query, and fragment.

Why does full URL mode preserve some percent escapes when decoding?

Reserved delimiters can change a URL's structure. Full URL decoding follows decodeURI behavior and preserves encoded reserved characters; component mode decodes them when the value is a single component.

Does a plus sign decode to a space?

No. This tool implements URI percent-encoding, where a plus sign remains a plus. The plus-as-space convention belongs to application/x-www-form-urlencoded form data.

Is URL encoding encryption?

No. Percent-encoding is reversible formatting for URLs and provides no secrecy or security by itself.

Does the tool visit or validate my URL?

No. It transforms the text locally in your browser and makes no request to the entered address.

Keep working