AndoDev

브라우저에서 바로 사용하는 개발자 도구

URL 파서

–

브라우저의 URL 규격으로 주소를 분해하고 쿼리 파라미터를 표로 보여 줍니다.

입력한 내용은 서버로 전송되지 않고 이 브라우저에서만 처리됩니다.

이럴 때 사용하세요

복잡한 링크의 어느 부분이 경로이고 쿼리인지, 포트가 무엇인지 확인할 때 씁니다.

사용 방법

  1. URL을 붙여넣습니다.
  2. 표에서 각 구성 요소를 확인합니다.
  3. 필요한 값을 복사합니다.

예시

입력
https://user:pw@example.com:8443/path/to/page.html?id=7&tag=a&tag=b#section-2
결과
href: https://user:pw@example.com:8443/path/to/page.html?id=7&tag=a&tag=b#section-2
protocol: https:
username: user
password: (있음)
host: example.com:8443
hostname: example.com
port: 8443
origin: https://example.com:8443
pathname: /path/to/page.html
search: ?id=7&tag=a&tag=b
hash: #section-2
query: id: 7
query: tag: a
query: tag: b

href  |  https://user:pw@example.com:8443/path/to/page.html?id=7&tag=a&tag=b#section-2
protocol  |  https:
username  |  user
password  |  (있음)
host  |  example.com:8443
hostname  |  example.com
port  |  8443
origin  |  https://example.com:8443

알아 두세요

스킴이 없으면 https:// 를 붙여 해석합니다. 비밀번호가 들어 있는 URL이라도 표에는 '(있음)'으로만 표시합니다.

관련 도구