Entity Tool - Escape special HTML & JavaScript character entities
Mainly, this is a JavaScript tool for webmasters who want to put some symbols, or non-English text on their website html codes or scripts. But, also, anyone who wants to find out some character's numeric or hex entity can use this great tool.
Enty
Buttons for HTML entities
Enter text with special characters you want to convert.
If you want tags like <b> to be transformed into <b> and symbol codes like ® to become encoded too (&#174;) aswell - press button.
If you want to keep tags and previous symbol codes - press . This will keep stuff like <div class="bla">₧</div>
as it is and will convert partially-converted text (like turn ♪♪
into ♪♪
).
You can also use button to keep converted symbols same like in the example but still convert "<" and ">" tag notations to their entities.
You can also switch from decimal entity codes to hex (base 16) symbol codes. Check the "Decimal / Hex" check box for that.
JavaScript entities
You can switch to converting of symbols into Javascript entities like "\ufe31\&". Just disable the "HTML / JavaScript" check box for that. I'm not so sure, but I think this works for Adobe Flash's ActionScript too.
Extract symbol codes with Enty
You can use this tool to extract decimal, or hex codes of symbols you want. There are some ways to type symbols from keyboard with these codes. You can find some in Keyboard symbols. To get symbols' codes you have to copy these symbols into my tool and hit . In the result you get, text locked inside "&#" and ";", or "&#x" and ";" is decimal and hex code of corresponding symbols. You'll figure it all out fast, I'm sure. ;)
Why webmasters need it?
Because there are many different encoding systems in this world you can't just copy and paste special text symbols into an HTML source code and be happy with how your page displays it. You place it in encoding number one in your text editor and your user's browser thinks it's an encoding number two, so webmasters have to use only the most compatible symbols in their html codes and scripts.
With help of this tool you can convert text non-ASCII symbols into compatible ASCII text with html entities and JavaScript symbol codes of these special characters. And from now on there's no need in those badly-looking html entity table references. And you don't have to lookup for several minutes for some character you want to get. And in a large part of cases I'm sure it was not even there, cause these references are always more about some Greek and geek signs, copyright symbols, etc. I know, cause I made such a table by myself some time ago, but it's no good if you're looking up for some cool symbols (by the way there's hell lot of syperb ones in my collection of Facebook Symbols. *Evil laugh* now it's time for special character converter. Just copy symbols you want into the input box and voila! Here you go! Just in few seconds - real kung fu grip!
You can even copy the whole text that contains symbols and the tool will transform special characters only so you can transform text in UTF-8 to any html or javascript. You can even copy the result and convert it once again to get the code of that previous result (you know, it's sometimes useful in js). Make sure you bookmark this one if you're a web developer, javascript writer, or if you have some kind of website building hobby, cause I find it super-handy by myself. ;) I use this thing a lot, really.
Comments
Any help from you will greatly appreciated.. Thank's in advance!