How URL Encoder works
Paste a URL to encode or decode special characters, or break it into its component parts for inspection.
Uses the built-in encodeURIComponent/decodeURIComponent and the URL constructor for parsing.
Questions
- What characters are encoded?
- Characters outside the unreserved set (letters, digits, hyphens, underscores, periods, tildes) are percent-encoded.
- Is this the same as Base64 encoding?
- No. URL encoding replaces unsafe characters with percent codes. Base64 converts binary data to an ASCII string.
- Can I parse query strings?
- Yes. Paste a full URL and the tool will split it into protocol, host, path, query parameters, and fragment.
More Text & Data tools
- .env InspectorInspect, mask, and convert env files
- JSONPath ExplorerPull a value out of JSON by path
- cURL → fetchConvert curl commands to fetch()
- Markdown PreviewerLive GitHub-flavored markdown
- JSON FormatterValidate and pretty-print
- Base64Encode and decode
- Diff CheckerCompare two text blocks
- Word CountCount, readability, stats
- TimestampUnix, ISO 8601, relative time
- Hash GeneratorSHA-1, SHA-256, SHA-512
- Text CaseUPPER, lower, Title, camelCase, more
- Character EntitiesHTML entities, Unicode, ASCII lookup
- JSON to TypeScriptGenerate TypeScript interfaces from JSON
- JWT DecoderInspect JSON Web Tokens
- Page WeightWeigh a page: bytes, grade, Core Web Vitals, HAR diff
- SQL Viewer & CopyOpen a .sql file, read it, copy it
- SQL Formatter & MinifyBeautify or compact SQL
- SQL SplitterSplit a migration into statements
- SQL Pre-flight CheckCatch RLS gaps & risky SQL
- Base ConverterBinary, octal, decimal, hex, bitwise
- Unicode InspectorCode points, bytes, invisible characters