Spring Sale! Save 30% on all books w/ code: PLANET24
Web Dev + WordPress + Security

URL Character Codes

URLs 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), for easy copy/paste reference.

  • <     %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

To convert back and forth between the encoded and unencoded characters, check out any free online tool such as Eric Meyer’s URL Decoder/Encoder.

About the Author
Jeff Starr = Designer. Developer. Producer. Writer. Editor. Etc.
BBQ Pro: The fastest firewall to protect your WordPress.

One response to “URL Character Codes”

  1. August Klotz 2007/02/19 2:43 pm

    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. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
BBQ Pro: The fastest firewall to protect your WordPress.
Thoughts
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Note to self: encrypting 500 GB of data on my iMac takes around 8 hours.
Getting back into things after a bit of a break. Currently 7° F outside. Chillz.
2024 is going to make 2020 look like a vacation. Prepare accordingly.
First snow of the year :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.