URL Encoder & Decoder
Encode and decode URLs and query strings. Parse URL components. Convert special characters to percent-encoding.
About this tool
URLs can only contain a limited set of ASCII characters. Special characters like spaces, &, =, and non-ASCII characters must be percent-encoded (e.g., space → %20, & → %26) to be safely transmitted.
This tool provides:
URL Encode — converts a plain string to percent-encoded format suitable for use in URLs. Handles both full URLs (encoding only unsafe characters) and query parameter values (encoding all special characters).
URL Decode — converts percent-encoded text back to human-readable form. Handles %XX sequences and + signs (used as space in form data).
URL Parser — breaks any URL into its components: protocol, hostname, port, pathname, query parameters (as a key-value table), and fragment. Useful for debugging API endpoints.
Query String Builder — build and encode query strings from a key-value editor without worrying about encoding.
Frequently Asked Questions
What is percent-encoding?
What's the difference between encodeURI and encodeURIComponent?
What does '+' mean in a URL?
Can I encode non-ASCII characters?
Related Tools
Base64 Encoder/Decoder
Encode and decode Base64 text and images. Supports URL-safe Base64. Preview images inline. 100% client-side.
HTML Entity Codec
Encode and decode HTML entities. Convert special characters to &, <, > and decode them back.
Slug Generator
Convert any text to URL-friendly slugs. Handles Unicode, accents, custom separators, and max-length truncation.
Meta Tag Generator
Generate SEO meta tags, Open Graph, and Twitter Card tags. Preview how your page looks in Google and social media.