Allowed characters in URL

Reference

Contents

  1. About
  2. URL Components
    1. Path
      1. Legend
      2. Notes
    2. Query
    3. Fragment
  3. Links

About

Allowed characters in HTTP(S) URLs.

URL Components

Path

RFC 1738 RFC 3986
0-9 A-Z a-z - . _ allowed unreserved
! $ ' ( ) * + , allowed allowed
& : = @ not reserved allowed
; reserved allowed
~ unsafe unreserved
[ ] unsafe reserved
/ ? reserved reserved
# unsafe reserved
% unsafe special
" < > ^ \ ` { | } unsafe not allowed

Legend

Notes

Query

Fragment

Links