Unicode Converter

Convert between text and Unicode code points

Common Unicode Characters

Heart

U+2764

Star

U+2605

Smile

U+263A

Check

U+2714

Cross

U+2718

©

Copyright

U+00A9

®

Registered

U+00AE

Trademark

U+2122

°

Degree

U+00B0

±

Plus-Minus

U+00B1

Infinity

U+221E

π

Pi

U+03C0

What Is Unicode?

Unicode is the universal character encoding standard that assigns a unique number — called a code point — to every character in every writing system on Earth. Before Unicode, different languages and regions used incompatible character sets (ASCII for English, Shift-JIS for Japanese, ISO 8859 for European languages), making it impossible to reliably display text across different computers and software. Unicode solved this by creating a single unified system that now represents over 149,000 characters from 161 modern and historic scripts, plus emojis, mathematical symbols, and technical notation.

Each Unicode character is identified by a unique code point written as U+ followed by a hexadecimal number. For example the letter "A" is U+0041, the Chinese character "中" is U+4E2D, and the emoji "😊" is U+1F60A. This converter translates between readable text and the numeric code points in multiple standard formats — hexadecimal (U+xxxx), plain decimal integers, and HTML entities — so developers, designers, and anyone working with international text can quickly convert between representations.

Unicode Representation Formats

Unicode code points can be expressed in several standard formats, each serving different use cases in programming and web development. This converter handles all four major representations:

Format Example ("A") Typical Use
Hex Code PointU+0041Character maps and documentation
Decimal65JavaScript codePointAt()
HTML Entity (decimal)AHTML source code
HTML Entity (hex)AHTML/CSS color values

The Text to Unicode mode converts any text into all four formats simultaneously. The reverse modes accept Unicode code points (U+0048), decimal numbers (72), or HTML entities (H) and convert them back to readable text.

Unicode Code Point Extraction

codePoint = str.codePointAt(index)

Where:

  • str= The input text string
  • index= Position of the character in the string
  • codePoint= Integer code point value in decimal

How to Use the Unicode Converter

This converter supports four modes of operation, selectable from the tab buttons at the top of the page:

  1. Text to Unicode: Enter any text — letters, symbols, emojis, or mixed scripts — and get the code points in hexadecimal (U+xxxx), decimal integers, and HTML entity formats (both decimal and hex). Each character's code point is separated by a space for clarity.
  2. Unicode to Text: Paste space-separated or comma-separated Unicode code points such as "U+0048 U+0065" or "\u0048 \u0065" and see the original text. The converter accepts both the U+ prefix format and raw hex values.
  3. Decimal to Text: Enter space or comma-separated decimal code point values like "72 101 108 108 111" and convert back to text. This is useful when working with JavaScript charCodeAt() output or database-stored integer values.
  4. HTML Entity to Text: Paste HTML entities like "Hel" and get the decoded text. Both decimal (A) and hexadecimal (A) entity formats are supported.

The common characters reference grid at the bottom of the page shows 12 frequently used Unicode symbols with their code points for quick lookup without typing.

Common Unicode Characters and Their Uses

Unicode extends far beyond the basic Latin alphabet. Some of the most frequently used Unicode characters in everyday digital communication include symbols like the heart (♥, U+2665), star (★, U+2605), check mark (✔, U+2714), and cross mark (✘, U+2718). These symbols appear in social media posts, user interfaces, and formatted documents — they are just regular text characters with code points that differ from standard alphanumeric characters.

Technical and mathematical symbols form another large segment of commonly used Unicode characters. The degree symbol (°, U+00B0), plus-minus sign (±, U+00B1), infinity symbol (∞, U+221E), and Greek letters like pi (π, U+03C0) are essential for scientific notation, engineering documents, and educational materials. Rather than using special markup or embedded images, these symbols can be included directly in text using their Unicode code points.

Copyright and trademark symbols — © (U+00A9), ® (U+00AE), and ™ (U+2122) — are frequently represented as HTML entities because they are not easily typed on standard keyboards. The HTML entity conversion mode makes it straightforward to switch between the visible symbol and the entity code format required for HTML source files.

Working with Unicode in Programming Languages

Unicode handling varies across programming languages, and this converter bridges the gaps between them. In JavaScript, characters can be represented using String.fromCodePoint(65) from decimal values or escape sequences like \u0041 from hex. The charCodeAt() and codePointAt() methods do the reverse — extracting decimal code points from strings — exactly what this converter does in Text to Unicode mode.

In Python, the ord('A') function returns the decimal code point (65), and chr(65) converts back. The \u and \U escape sequences in Python string literals accept 4-digit and 8-digit hexadecimal values respectively. Java uses \u0041 escape sequences and the Character.codePointAt() method for extraction. By providing decimal, hexadecimal, and HTML entity output simultaneously, this converter matches whichever format your programming language or framework requires.

In HTML and web development, Unicode characters can be included either directly when the document is saved as UTF-8, or through HTML entities for environments where direct encoding is not reliable. Numeric character references like A (decimal) and A (hex) work in all HTML versions and are immune to encoding issues. The HTML entity conversion mode produces both formats, making it a reliable reference for embedding special characters in web pages, email templates, and XML documents.

Worked Examples

Converting 'Hello' to Unicode

Problem:

Convert the word 'Hello' to its Unicode code point representations in all four formats.

Solution Steps:

  1. 1Process each character: H = U+0048, e = U+0065, l = U+006C, l = U+006C, o = U+006F
  2. 2Hexadecimal code points: U+0048 U+0065 U+006C U+006C U+006F
  3. 3Decimal equivalents: 72 101 108 108 111
  4. 4HTML entities (decimal): Hell&var(--foreground);

Result:

Hex: U+0048 U+0065 U+006C U+006C U+006F. Each number uniquely identifies a character — 'H' is always U+0048 regardless of font or platform.

Decoding Emoji Code Points

Problem:

A developer sees the code point U+1F60A in documentation. What character does this represent?

Solution Steps:

  1. 1Select Unicode to Text mode
  2. 2Enter: U+1F60A
  3. 3The converter decodes the hexadecimal value 1F60A back to the emoji
  4. 4Result: 😊 (smiling face with smiling eyes)

Result:

U+1F60A = 😊. Emojis use code points above U+FFFF, which modern JavaScript's codePointAt() handles transparently, though older code using charCodeAt() requires surrogate pair handling.

Decoding HTML Entities from a Web Page

Problem:

Someone sends you text with HTML entities: MyCalcBuddy. What does it say?

Solution Steps:

  1. 1Select HTML Entity to Text mode
  2. 2Paste the entire entity string
  3. 3The converter processes each &#...; sequence
  4. 4Result: MyCalcBuddy

Result:

The entities decode to 'MyCalcBuddy'. HTML entity encoding protects text from being interpreted as markup and is commonly used in URLs, form submissions, and cross-system data exchange.

Tips & Best Practices

  • Use Text to Unicode mode to find the code point of any special character — paste it directly and see all four formats instantly.
  • HTML entity encoding protects characters like <, >, &, and quotes from being misinterpreted as HTML markup by the browser.
  • Emojis use code points above U+FFFF — they work with modern JavaScript's String.fromCodePoint() but may need surrogate pair handling in legacy code.
  • When copying into source code, use \u0041 for JavaScript, Java, and Python string literals; use U+0041 for documentation and comments.
  • The common character grid at the bottom of this page shows 12 frequently used Unicode symbols with their code points for quick reference without typing.
  • Both spaces and commas are accepted as separators when inputting multiple code points in Unicode to Text mode.
  • HTML entities are case-insensitive for hex digits — A and A produce the same character 'A'.
  • Modern text editors and IDEs save files as UTF-8 by default, which can handle any Unicode character directly without entity encoding.

Frequently Asked Questions

ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding covering only 128 characters — the English alphabet, digits, and basic punctuation. Unicode is a superset that includes all ASCII characters (the first 128 Unicode code points are identical to ASCII values) plus over 149,000 additional characters covering virtually every writing system in use today. The letter 'A' is 65 in both systems.
The U+ notation is the standard convention for representing Unicode code points. 'U' stands for Unicode, '+' is a separator, and the following characters are hexadecimal digits. For example, U+0041 is the Latin capital letter A. The letters A through F represent the decimal values 10 through 15 in hexadecimal. Most common characters use 4 hex digits (U+0000 to U+FFFF), while emojis and rare scripts use 5 to 6 digits.
An HTML entity is a sequence that starts with & and ends with ;, used to represent characters that are reserved in HTML (like < for the less-than sign) or that are not easily typed on a standard keyboard. Numeric character references like A (decimal) or A (hex) can encode any Unicode character. They are essential when writing HTML containing characters that would otherwise be interpreted as markup, or when document encoding might not support certain characters.
As of Unicode version 15.1 (released in 2023), the standard defines 149,813 characters across 161 scripts. This includes letters for all modern languages, historical scripts like Egyptian hieroglyphs, mathematical and technical symbols, emojis, musical notation, and more. The standard continues to grow with each new version, adding characters for underrepresented writing systems and expanding the emoji set. This converter supports all currently defined code points through JavaScript.
Yes. Emojis are regular Unicode characters with code points primarily in the range U+1F000 to U+1F9FF. The converter handles them the same way it handles any other character. For example, the fire emoji 🔥 is U+1F525 (decimal: 128293). Some compound emojis use zero-width joiners (ZWJ, U+200D) to combine multiple characters into a single visual glyph — the converter shows the individual code points for each component character.
Decimal code points are used primarily in programming languages that represent characters as integers. JavaScript's charCodeAt() and codePointAt() methods return decimal values. Some databases store Unicode code points as integer columns. The decimal format also appears in HTML numeric character references (A). This converter provides decimal output alongside hex and HTML formats so you always have the right representation for your specific use case.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Unicode Converter?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: NIST Guide to SI Units

by National Institute of Standards

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.