Pro Plugin Sale! Save 25% on all pro plugins w/ code: SEASONS
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.

Jeff Starr
About the Author
Jeff Starr = Fullstack Developer. Book Author. Teacher. Human Being.
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 »
Banhammer: Protect your WordPress site against threats.
Thoughts
BF Sale! Save 40% on all Pro WordPress plugins and books w/ code FRIDAY23
Sincerely trying to engage more on social media. I love the people not the platforms.
All free and pro WordPress plugins updated and ready for WP version 6.4!
Fall season almost here :)
My greatest skill on social media is the ability to simply ignore 98% and keep scrolling without interacting.
Enjoying this summer, getting some great positive energy. Refreshing and inspiring.
☀️ Pro plugin giveaway! Enter to win 1 of 4 lifetime licenses for our WordPress security plugins, including 10-site Security Bundle!
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.