URL Encoder & Decoder

Component mode encodes query values, path segments, and form values with encodeURIComponent.

0 chars
Encoded Output
0 chars

Encode and Decode URLs Online

Convert text into percent-encoded URI data or decode an encoded value back into readable text. Component mode is designed for query values, form values, and path segments. Full URL mode keeps URL separators intact while encoding spaces, Unicode text, and other unsafe characters.

When to Use Each Mode

URI Component

Use for a single query parameter value, redirect target, search term, filename, or path segment.

Full URL

Use when the input already contains a complete URL and its protocol, path, query separators, and fragment must remain readable.

API Debugging

Decode request parameters from logs or safely encode values before building API and webhook URLs.

International Text

Encode spaces, emoji, accents, and non-Latin characters as UTF-8 percent sequences.

Related Developer Tools

Convert data with the Base64 Encoder & Decoder, escape markup using the HTML Encoder & Decoder, or test URL patterns in the Regex Tester.