Book Sale! Code WP2025 takes 20% OFF our Pro Plugins & Books »
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 = Creative thinker. Passionate about free and open Web.
Wizard’s SQL for WordPress: Over 300+ recipes! Check the Demo »

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 »
.htaccess made easy: Improve site performance and security.
Thoughts
Finally finished my ultimate block list to stop AI bots :) Blocks over 100 AI bots!
After 10 years working late at night, my schedule has changed. I am now a “morning person”, starting my day at 6am or earlier.
Nice update for Wutsearch search engine launchpad. Now with 19 engines including Luxxle AI-powered search.
New version of 8G Firewall (v1.4) now available for download :)
Wishing everyone a prosperous and bright New Year!
I disabled AI in Google search results. It was making me lazy.
Went out walking today and soaked up some sunshine. It felt good.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.