
URL Encoder and Decoder — Encode or Decode a URL Online
Percent-encoded URLs are unreadable, and hand-editing breaks them. Paste any string or full URL to encode or decode it correctly in component or full-URL mode, right in your browser.
Paste a URL or string — get the correctly encoded or decoded version back
What you can do with URL Encoder/Decoder
Review the main capabilities before you begin.
- Percent-encode URLs for safe linking
- Decode encoded URLs back to plain text
- Encode single query parameters cleanly
- Fix broken links with special characters
- Encode whole URLs or individual components
- Prepare share links for social and email
Settings reference
2 settings
Available controls for URL Encoder/Decoder.
Settings
- ModePresets
- Switch between converting plain text into percent-encoded form and turning an already-encoded URL or string back into readable text.Options: EncodeDecode
- StrictnessPresets
- Component escapes reserved characters like :/?#[]@ so the result is safe inside a single URL part; Full URL leaves them intact so an entire web address stays valid.Options: ComponentFull URL
Related tools for URL Encoder/Decoder
Tools for common next steps after URL Encoder/Decoder.
Developer Tools
Base64 Encoder / Decoder
Encode text or files as Base64, or decode Base64 to supported text, with URL-safe and UTF-8 options in your browser.
Try it nowBusiness Generators
QR Code Generator
Create static QR codes for supported URL, WiFi, UPI, phone and email data without a hosted redirect.
Try it nowDeveloper Tools
JSON Prettify
Validate JSON, format it with 2, 4 or 8 spaces, or minify it in your browser.
Try it nowFrequently 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.
technicalSwitch 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.
usageThose 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.
technicalYes. 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.
featuresNo. 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.
privacyYes. 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.
compatibilityYes. 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.
usageThe at sign becomes %40 in percent encoding. In Component mode the tool escapes it automatically, which matters for email addresses in query strings — [email protected] becomes user%40example.com. Other common escapes: a space is %20, '#' is %23, '&' is %26 and '?' is %3F. Paste any text to see the full encoded result instantly.
technicalYes — they are two names for the same mechanism defined in RFC 3986: unsafe characters are replaced with a percent sign followed by two hex digits of their UTF-8 bytes. 'URL encoding' is the everyday name and 'percent encoding' the specification term. This tool applies it with encodeURIComponent or encodeURI depending on the mode you choose.
technicalNo — URL Encoder / Decoder runs entirely in your browser, so what you paste never leaves the machine you are on. That matters if you are checking something that contains a token, a key or customer data. Closing the tab is enough to clear it.
troubleshootingThe error points at the first position that could not be parsed, which is usually just after the real mistake rather than on it — a missing comma, an unclosed quote or bracket, or a smart quote pasted in from a document instead of a straight one. Check the line above the reported position first.
troubleshootingNo to both. URL Encoder / Decoder is free, your download carries no watermark, and nothing is asked for at the end — there is no point in the flow where you finish the work and then discover it costs money.
pricingNo — URL Encoder / Decoder runs in the browser on desktop and phone. There is nothing to install, no trial to start, and no license to buy before you can see whether it does what you need. Try it on the file you are actually stuck with rather than a sample.
troubleshootingHow 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.
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
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
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
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
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
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
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.
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.
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.
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.
Watch each transformation land
Every photo crosses the slash untouched and comes out the other side finished.


























