URL Encoder & Decoder
Encode and decode URLs online with support for encodeURIComponent and encodeURI. Perfect for query strings, API parameters, and URL paths.
Mode
Choose whether to encode or decode URLs
For query parameters and URL parts. Encodes all special characters including / ? # : @ & = + $ ,
Input
Enter the text or URL to encode
Output
Encoded URL
Quick Examples
Encoding query parameters:
Encoding special characters:
Encoding full URL:
Why Use Our URL Encoder?
Two Encoding Modes
Choose between encodeURIComponent for query parameters or encodeURI for full URLs.
100% Private
All processing happens in your browser. Your URLs are never sent to any server.
Real-time Conversion
See results instantly as you type. Automatic detection for decoding mode.
Common Use Cases
Query Parameters
Encode form data and search queries for URL parameters
URL Paths
Encode file names and folder paths with special characters
API Integration
Properly encode API request parameters and endpoints
Email Addresses
Encode email addresses in URLs
Understanding URL Encoding
encodeURIComponent
Use this for encoding individual URL components like query parameters, form data, or any part of a URL that might contain special characters.
encodeURI
Use this for encoding complete URLs. It preserves URL structure characters but encodes spaces and other special characters.
Your Privacy is Protected
This tool runs entirely in your browser using JavaScript. Your data is never uploaded to our servers or any third-party service. Everything happens instantly on your device.
Want more productivity tools?
Sign up for Txtpipe to access AI-powered task management, location-based reminders, and more.
No credit card required