URL Encoder & Decoder - Percent-Encode Strings & Full URLs

Encode or decode URL components and full URLs. Choose component mode (encodeURIComponent) or full URL mode (encodeURI). Copy or download in one click.

Paste text or encoded URL here…

Files are auto-deleted after processingProcessed securely over HTTPS

Frequently Asked Questions

Component mode uses encodeURIComponent and escapes characters like ":/?#[]@" so the value is safe inside a single URL segment or query parameter. Full URL mode uses encodeURI and leaves those reserved characters alone so the entire URL stays a valid URL.

technical

Switch to component mode, paste the parameter value and the encoder replaces spaces with %20, equals signs with %3D and so on. Drop the result into the URL after "?key=" or "&key=" and the link works on any browser, server or REST client.

usage

Those characters are reserved by the URL syntax — they separate the scheme, path, query and fragment. Encoding them as %2B %2F %3A %3F %23 lets the value carry them literally without confusing the parser on the other side.

technical

Yes. When the input contains a stray "%" that is not followed by two hex digits, the decoder shows an "Invalid input" message instead of producing garbled output. Fix the offending sequence and the result updates instantly.

features

No. The encoder uses the browser's built-in encodeURI / encodeURIComponent functions, so nothing crosses the network. That makes the tool safe for tokens, file paths and any other sensitive value you need to embed in a URL.

privacy

Yes. UTF-8 characters like ñ, 漢, ✓ and emoji are encoded into the corresponding %xx byte sequences. Modern browsers and servers decode them back to the original characters automatically, so the round-trip is loss-free.

compatibility

Yes. Switch the mode toggle to Encode to percent-encode raw text, or to Decode to turn %XX sequences back into readable characters. The same Component and Full URL options apply in both directions, so you can round-trip a value and get exactly what you started with.

usage

How URL Encoder/Decoder helps you get it done

Real problems it solves every day — for businesses, creators, and everyday tasks. Find the use case that fits you and start in seconds.

For Developers

Build Query Strings for REST APIs

Encode search terms, filters and IDs for GET requests to REST APIs, Algolia, Elastic and Google Search so reserved characters do not break the request URL

For Business

Tracking Parameters for Marketing Links

Percent-encode UTM parameters, campaign names and referrer strings for Google Analytics, Facebook Ads and HubSpot links shared across email and social channels

Web & SEO

Pass Filters & Search Terms in URLs

Encode multi-word search queries, special characters and sort options into shareable URLs for SaaS dashboards, e-commerce filters and admin panels

Web & SEO

Generate mailto: Links with Subject & Body

Build mailto: links where the subject and body contain newlines, punctuation and emoji so click-to-email buttons open Gmail and Outlook with the message pre-filled

Social Media

Embed Messages in WhatsApp & SMS Share Links

Encode pre-filled WhatsApp, Telegram and SMS share links so customers can tap a button on your site and open the messenger with the marketing message ready

For Developers

Escape User Input for Safe URL Construction

Encode user-controlled values before injecting them into URLs to avoid request-smuggling, redirect-injection and broken-link bugs in production web apps

For Developers

Debug OAuth & Redirect Callback URLs

Decode a redirect_uri, state or code parameter from an OAuth callback or webhook log to see exactly what value a provider received — often the fastest way to spot a double-encoding bug breaking a login flow.

On Mobile

Build Mobile App Deep Links

Percent-encode parameters going into a custom-scheme or Universal/App Link (myapp://open?ref=...) so special characters in referral codes or shared content IDs survive the jump from browser to app.

Web & SEO

Safe Direct-Download Links for Files with Spaces

Encode file names containing spaces, parentheses or accented characters (e.g. 'Q1 Report (Final).pdf') into a URL that CDNs and browsers won't truncate or misinterpret when linked directly.

Privacy & Security

Check Where a Shortened or Encoded Link Really Goes

Paste a suspicious percent-encoded or forwarded link into Decode mode to reveal the real destination URL hidden inside redirect or tracking parameters before clicking it.