Skip to content

MenuChange language

Emoji Unicode converter

Turn emojis into code points and escape codes for HTML, CSS, JavaScript, JSON or Python, or paste codes to get the emojis back. Multi-part emojis are split into every code point they contain.

Direction

Your text is processed only in this browser tab. It is never uploaded or saved.

Formats at a glance

Here is the red heart ❤️ in every format. It is made of two code points: the heart U+2764 and U+FE0F, which asks for the colorful emoji style.

FormatExampleWhere it’s used
Unicode code pointsU+2764 U+FE0FStandard notation in documents and specs
HTML entity (hex)❤️HTML pages (hexadecimal)
HTML entity (decimal)❤️HTML pages (decimal)
CSS (content)\2764\FE0FThe content property in CSS
JavaScript (ES6)\u{2764}\u{FE0F}JavaScript strings (ES2015+)
JSON / Java (UTF-16)\u2764\uFE0FJSON, Java, C# and older JavaScript
Python\u2764\uFE0FPython string literals
URL encoding (UTF-8)%E2%9D%A4%EF%B8%8FQuery strings and links

How to use

  1. Choose “Emoji → code” and paste emojis or a sentence. Pick the format you need.
  2. Turn on “Convert emojis only” to keep letters as they are and replace only the emojis.
  3. Choose “Code → emoji” to decode. You can mix formats and separate codes with spaces, commas or hyphens.

FAQ

Why does one emoji have several code points?
Many emojis are sequences. Skin tones add a modifier, flags use two regional letters, and families or professions join several emojis with U+200D (zero width joiner).
What is U+FE0F?
It is variation selector 16. It tells the system to draw a character such as ❤ or © in emoji style instead of plain text. Keep it when copying codes.
Which format should I use in HTML?
If your page is saved as UTF-8 you can paste the emoji directly. Use HTML entities (😀) when you can only type ASCII.

Other tools