Jump Menu : Content | Explore | Comments | Search | Home | Sitemap | Contact | Login | Access.

URL Character Codes

URL’s frequently employ potentially conflicting characters such as question marks, ampersands, and pound signs. Fortunately, it is possible to encode such characters via their escaped hexadecimal ASCII representations. For example, we would write "?" as "%3F". Here are a few more URL character codes (case-insensitive):

  • <     %3C
  • >     %3E
  • #     %23
  • %     %25
  • {     %7B
  • }     %7D
  • |     %7C
  • \     %5C
  • ^     %5E
  • ~     %7E
  • [     %5B
  • ]     %5D
  • `     %60
  • ;     %3B
  • /     %2F
  • ?     %3F
  • :     %3A
  • @     %40
  • =     %3D
  • &     %26
  • $     %24
  • +     %2B
  • "     %22
  • space     %20

References

Related articles

About this article

This is article #307, posted by Jeff Starr on Monday, February 19, 2007 @ 02:33pm. Categorized as Function, Structure, and tagged with code, encode, notes, reference, url. Updated on November 05, 2007. Visited 18560 times. 1 Response »

BookmarkSubscribeExplore

« The Return of Dead Letter Art • Up • Dazzle, Marvel and Wonder »


1 Response

1 • February 19, 2007 at 2:43 pm — August Klotz says:

You can also use Google to translate special URL characters. Simply search for the character and check within the search URL in your browser’s address field. The encoded URL character will be located between the "q=" parameter and the next "&" character (if any). Sometimes this comes in handy when working on the fly.

[ Comments are closed for this post. ]


Set CSS to lite theme
Set CSS to dark theme