encode or decode URL strings in real time. supports both encodeURIComponent and encodeURI modes.
Component mode — uses encodeURIComponent. Encodes all special characters including /, ?, &.
encoded output will appear here
URL Encode and Decode converts special characters in URLs to their percent-encoded equivalents and back. This is essential when building query strings, debugging API requests, or handling URLs that contain spaces and special characters.
The tool supports both encodeURIComponent mode (encodes everything except unreserved characters) and encodeURI mode (preserves URL structure characters like / : ? #). Choose the right mode for your use case.
All processing happens in your browser. Your URLs and data are never sent to any server.
Paste your text or URL
Enter the text you want to encode, or paste a percent-encoded URL to decode.
Choose mode
Select encodeURIComponent for query parameter values, or encodeURI for full URLs.
See the result
The encoded or decoded output appears instantly.
Copy
Copy the result to your clipboard with one click.
API query strings
Encode parameter values that contain spaces, ampersands, or special characters.
Debugging encoded URLs
Decode percent-encoded URLs to read the original text.
Form data encoding
Encode form field values for URL-encoded POST requests.
Redirect URLs
Encode URLs that are passed as parameters in redirect chains.
Deep links
Encode complex URLs for use as parameters in mobile app deep links.
PDF utilities, image tools, developer helpers — all free, no signup.
Convert each page of a PDF into high-quality PNG or JPG images.
Merge multiple PDF files into one document.
Convert multiple images into a single PDF document.
Split a PDF into individual pages or custom ranges.
Pick colors, generate harmonious palettes, and export as HEX, RGB, or HSL.
Generate strong, random passwords with customizable length and character sets.