Language

Square Mg

U+338ECJK Compatibility

Copy and paste ㎎. The Square Mg character has Unicode code point U+338E and decimal HTML code ㎎.

Symbol codes

Unicode
U+338E
HTML Code
㎎
CSS Code
\338E
HEX Code
㎎

Technical properties

Unicode 18.0.0

Code point
U+338E
Decimal
13198
Unicode name
SQUARE MG
Block
CJK Compatibility · U+3300–U+33FF
General category
Other Symbol (So)
Script
Common
Introduced
Unicode 1.1
JavaScript
"\u338E"

About Square Mg

㎎ is encoded in Unicode as code point U+338E (decimal 13198). Its official Unicode name is SQUARE MG.

It belongs to the CJK Compatibility block (U+3300–U+33FF), its General Category is Other Symbol (So), and it was added in Unicode 1.1, released in 1993. Its script value is Common: it is shared across writing systems rather than belonging to one.

Sources: Unicode Character Database 18.0.0.

How to type or insert Square Mg

Any device
Select Copy symbol, then paste with Ctrl+V, or ⌘+V on a Mac.
Microsoft Word
Type 338E, then press Alt+X.
macOS Character Viewer
Press Control+⌘+Space and search for “square mg”.
Linux (GTK and IBus)
Press Ctrl+Shift+U, type 338e, then press Space.
HTML
㎎. In a UTF-8 page you can also paste the character itself.
CSS
content: "\338E"; in a ::before or ::after rule.
JavaScript
"\u338E"

Common questions about Square Mg

What is the Square Mg symbol?

㎎ (Square Mg) is a symbol in Unicode’s CJK Compatibility block. Its code point is U+338E, and it has been part of the standard since Unicode 1.1 (1993).

How do I copy and paste the Square Mg symbol?

Select Copy symbol at the top of this page, then paste with Ctrl+V on Windows and Linux or ⌘+V on a Mac. On a phone, tap Copy symbol, then touch and hold where you want it and choose Paste. ㎎ pastes as ordinary text, so it works in documents, messages, and code.

How do I type the Square Mg symbol on Windows?

In Microsoft Word, type 338E and press Alt+X to turn the code into ㎎. In any app, open Character Map from the Start menu, search for “square mg”, then select and copy the character.

How do I type the Square Mg symbol on a Mac?

Press Control+⌘+Space to open the Character Viewer, search for “square mg”, and double-click the result to insert it.

How do I type the Square Mg symbol on an iPhone or Android phone?

The simplest way is to copy it from this page and paste it where you need it. If you use it often, save it as a text shortcut: on iPhone, go to Settings > General > Keyboard > Text Replacement; with Gboard on Android, go to Gboard settings > Dictionary > Personal dictionary.

Can I use the Square Mg symbol in Word, Google Docs, and social media?

Yes. ㎎ is a standard Unicode character, so you can paste it into Microsoft Word, Google Docs, emails, and posts or bios on Instagram, X, Facebook, and TikTok. In Google Docs you can also choose Insert > Special characters and search for “square mg”. In Word, choose Insert > Symbol > More Symbols, set from to Unicode (hex), and enter 338E as the character code.

Is the Square Mg symbol an emoji?

No. ㎎ is a text symbol, not an emoji. It takes the color and size of the surrounding text, and its exact shape depends on the font.

Why does the Square Mg symbol show as a box or question mark?

An empty box or a question mark means the font on that device has no glyph for ㎎. The character is still there: it appears correctly wherever a font covers Unicode’s CJK Compatibility block, and free font families such as Google Noto cover nearly all of Unicode.

What are the HTML and CSS codes for the Square Mg symbol?

In HTML, write ㎎ (decimal) or ㎎ (hexadecimal). In CSS, use content: "\338E"; in a ::before or ::after rule, and in JavaScript "\u338E". See all HTML codes.