Having a Pro Plugin Giveaway at Plugin Planet!
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.
SAC Pro: Unlimited chats.

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 »
GA Pro: Add Google Analytics to WordPress like a pro.
Thoughts
Went out walking today and soaked up some sunshine. It felt good.
I have an original box/packaging for 2010 iMac if anyone wants it free let me know.
Always ask AI to cite its sources.
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Crazy that we’re almost halfway thru 2024.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.