HomeResourcesEmoji to HTML Code
10+ Code Formats · Free Tool

Emoji to HTML Code Converter

Paste any emoji — or search by name — and instantly get its HTML entity, CSS, JavaScript, JSON, Python, Ruby, Perl, hex and URL-encoded codes. Free forever, runs entirely in your browser.

Emoji to HTML Code
Paste an emoji · Codes update live
Popular:
✅
check mark button
✅
HTML Entity (hex)
✅
HTML Entity (decimal)
✅
Unicode Code Point
U+2705
CSS
\2705
JavaScript, JSON
\u2705
JavaScript (ES6+)
\u{2705}
Python
\u2705
Ruby, PHP
\u{2705}
Perl
\x{2705}
C, C++, Java (hex)
0x2705
URL Encode
%E2%9C%85

Search Emoji by Name

Click any emoji to load its codes. Hover to see its name.
Need standout A+ content?

Our creative team designs premium A+ pages, brand stories and storefronts that convert.

Explore A+ Content

How to Use This Converter

01

Paste an Emoji

Paste any emoji into the input box — or type a name like "check mark" or "rocket" in the search field and click a result.

02

Get Every Code Format

The HTML entity (decimal & hex), CSS, JavaScript, JSON, Python, Ruby, Perl, hex and URL-encoded values appear instantly.

03

Copy & Use Anywhere

Click the copy icon on any row and paste the code into your HTML, stylesheet, script, or A+ content source.

When to Use Each Code Format

Every emoji is one or more Unicode code points. The formats above are just different ways of writing those code points so each language's parser understands them — the rendered result is identical.

HTML entitiesshine when you can't trust the encoding of your pipeline — email templates, RSS/XML feeds, older CMS fields — because the source stays pure ASCII and can never be mangled into mojibake.

Example
<p>In stock &#9989;</p> → In stock ✅
1
HTML & email templates
Use the decimal (&#9989;) or hex (&#x2705;) entity. Email clients are notorious for double-encoding raw emoji — entities always survive.
2
CSS content property
Use the CSS escape (\2705) inside content: "\2705" for ::before / ::after pseudo-elements — handy for list bullets and badges.
3
JavaScript, JSON & Python
Use \u escapes in string literals when your build tools or linters reject raw non-ASCII source. JSON needs the surrogate-pair form for emoji above U+FFFF.

Frequently Asked Questions

Free, No Commitment

Want content that converts, not just characters?

From listing copy to premium A+ design, our team builds Amazon content that turns browsers into buyers.