URL Builder

Build a canonical HTTP(S) URL from decoded components locally.

ReadyRuns in your browser
INPUT & CONTROLS

Prepare your input

Local processing

Inputs are decoded components, not escaped URL source. Literal %2F becomes %252F. Path slash separators survive; dot segments can change the canonical path. Query is an ordered array of two-string pairs, retaining duplicate and empty names; spaces become + and literal + becomes %2B. Unicode hosts use WHATWG canonicalization. No DNS or reachability checks.

Limits in UTF-16 units: 32,768 combined input; hostname 1,024 (canonical ASCII at most 253); port 5 digits; path 16,384; fragment 4,096; query JSON 32,768; at most 200 pairs with 4,096 units per name/value; output 131,072. Unsupported controls and malformed UTF-16 reject. TAB/CR/LF in decoded data are encoded. Browser single-line inputs may remove line breaks before conversion; removed characters cannot be reconstructed.

Runs locally with bounded native URL operations. No navigation, fetching, DNS resolution or storage.

Result

Your result starts here

Review the input and selected options, then use the primary action. Output and any validation messages will appear here.

METHOD & CONTEXT

Understand the result before using it.

How it works

Validates bounded decoded components, uses native URL canonicalization and ordered URLSearchParams append encoding.

Interpretation

Read the result summary first, then inspect the detailed output and any errors or warnings. The result describes the supplied input and selected options. Changing input requires another run.

Assumptions & warnings

Percent-looking input is literal data. Dot segments, IDNA and default ports canonicalize; duplicate query pairs retain order. Output is source text only, with no navigation, fetch or DNS check.

Inputs are processed in your browser. Follow the input format and size limits shown next to the controls.

Try an example

Select Load example in the input panel, review the selected mode, then use its displayed primary action. Inspect the result before replacing the sample with your own input.

Related utilities for the next step in your task.

Explore Developer Utilities →