Developer Tools
General
Home
Data Visualization
Parquet VisualizerCSV VisualizerTSV ViewerExcel PreviewerAvro ViewerProtobuf ViewerORC ViewerJSONL ViewerSchema Inspector
Big Data Formats
Delta Lake ExplorerIceberg Metadata Viewer
Data Engineering
SQL Query ToolSQL Query VisualizerSpark Error DecoderKafka Message DecoderDBT Lineage ViewerCSV to JSON
Security & Auth
JWT DecoderJWT Expiry CheckerBase64 ToolHash GeneratorUUID GeneratorAPI Key GeneratorBcrypt GeneratorPassword Generator
JSON / SQL Tools
JSON FormatterJSON Diff CheckerJSON Path TesterJSON Schema GeneratorJSON ViewerJSON to TypeScript / PythonSQL FormatterSQL Query ConverterER Diagram GeneratorAPI TesterCurl GeneratorTimestamp ConverterXML FormatterYAML ValidatorMaven Dependency Visualizer
Text & Encoding
Regex TesterRegex GeneratorRegex ExplainerDiff CheckerURL Encoder/DecoderMarkdown PreviewerHTML ViewerUnicode ConverterTimezone Converter
Cloud & DevOps
Cron GeneratorAWS ARN DecoderDocker Compose GeneratorTerraform FormatterKubernetes YAML Visualizer
Productivity
ENV GeneratorGitignore GeneratorMarkdown Table GeneratorREADME GeneratorCommit Message GeneratorChangelog GeneratorCode Snippet Manager
Design & Media
QR Code GeneratorBarcode GeneratorColor PickerSVG Optimizer
  1. /
  2. URL Encoder/Decoder

Input
59 chars · 59 bytes
Output
0 chars · 0 bytes

URL encode and decode online — encodeURI and encodeURIComponent

Percent-encode and decode URLs and URI components instantly, with both encodeURI (whole URLs) and encodeURIComponent (query values) semantics. Runs locally — paste URLs containing tokens without worry.

Frequently Asked Questions

What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves characters that structure a URL (:, /, ?, &) and is for encoding complete URLs; encodeURIComponent encodes those too, and is what you need for individual query-string values.
Why do spaces become %20 or + in URLs?
Percent-encoding renders a space as %20. The + convention applies only in application/x-www-form-urlencoded query strings — decoders treat them differently, which causes many bugs.
When must I URL-encode a value?
Any time user data goes into a URL: query parameters, path segments, or redirect targets. Unencoded &, =, or # characters will silently corrupt the URL structure.
Why is my URL double-encoded (%2520)?
%2520 is %20 encoded again — some layer encoded an already-encoded value. Decode twice here to confirm, then find and remove the redundant encoding step.

Related Tools

Base64 Encoder / DecoderEncode and decode Base64.Curl GeneratorBuild curl commands visually.Unicode ConverterConvert text to code points and bytes.
Hexabench

60+ free developer tools that process your files locally in your browser. No uploads, no sign-up, no tracking of your data.

Popular Tools

  • JSON Formatter
  • JWT Decoder
  • Regex Tester
  • Diff Checker
  • Timestamp Converter
  • UUID Generator

Data Engineering

  • Parquet Viewer
  • Avro Viewer
  • Iceberg Metadata Viewer
  • Delta Lake Explorer
  • SQL Query Tool
  • Kafka Message Decoder

Resources

  • Blog
  • About
  • Privacy
  • Terms
© 2026 Hexabench · Free local-first developer tools