Skip to content

HTML & URL Encoding Reference

Common HTML entities and URL-encoded characters that you frequently need when developing web applications.

CharacterHTML NamedHTML NumericURL EncodedDescription
  %C2%A0Non-breaking space
<&lt;&#60;%3CLess than
>&gt;&#62;%3EGreater than
&&amp;&#38;%26Ampersand
"&quot;&#34;%22Double quote
'&apos;&#39;%27Single quote
/%2FForward slash
?%3FQuestion mark
#%23Hash
=%3DEquals
+%2BPlus
:%3AColon
@%40At sign
|&vert;&#124;%7CVertical bar
¢&cent;&#162;%C2%A2Cent
£&pound;&#163;%C2%A3Pound
&euro;&#8364;%E2%82%ACEuro
©&copy;&#169;%C2%A9Copyright
®&reg;&#174;%C2%AERegistered trademark
&trade;&#8482;%E2%84%A2Trademark

Character Converter

Text Converter

URL Encoding

Encoded
Decoded

HTML Entities

Encoded
Decoded

Notes

HTML Entities

  • Named entities start with & and end with ; (e.g., &amp;)
  • Numeric entities start with &# and end with ; (e.g., &#38;)
  • Some characters have multiple valid representations in HTML5
  • Named entities can improve code readability by being more descriptive

URL Encoding

  • Also known as percent-encoding
  • Reserved characters must be encoded when used in certain URL components
  • Unreserved characters (A-Z, a-z, 0-9, -, _, ., ~, ’) should not be encoded
  • Multi-byte characters (like €) are encoded as multiple percent-encoded bytes

References

HTML Entities

URL Encoding