Text editing guides

Check which letters convert in a chemical formula

·

A formula in a plain-text message can use Unicode raised or lowered characters. Check which parts are available in each mode before you copy the result into a caption or lab note.

Superscript and Subscript Generator

Check the formula and the conversion counts

Select Load example and leave Both selected. The first line is H2O + x3. Subscript shows H₂O ₊ ₓ₃. Superscript shows ᴴ²ᴼ ⁺ ˣ³.

The second line adds AXx and a joined emoji. Superscript reports 8 converted and 2 left unchanged. Subscript reports 5 converted and 5 left unchanged. Spaces and the line break are excluded from the conversion count.

Unicode Superscripts and Subscripts chartUnicode 18.0 character data and compatibility decompositionsUnicode Standard Annex 29 — Text Segmentation

Move only the exponent above the baseline

For x squared, type only 2 and select Superscript. Copy ² and paste it after x so the base letter stays at its usual height. The same method works for CO₂ when you select Subscript.

For a reusable formula note, download the selected result and open the UTF-8 file. Verify the digits and any unsupported letters before distributing it.

Unicode Superscripts and Subscripts chart

Identify an unavailable letter before exporting

Enter X and choose Superscript. The preserved X contributes to the unchanged count. For letters or equations that need a raised or lowered form regardless of the available Unicode glyphs, use subscript or superscript formatting in your editor.

A joined emoji stays intact. A decomposed letter and accent also stay together because the converter works with grapheme clusters.

Unicode 18.0 character data and compatibility decompositionsUnicode Standard Annex 29 — Text Segmentation

Common questions

Are plus and minus available in both positions?

Yes. Superscript uses ⁺ and ⁻, and subscript uses ₊ and ₋. Ordinary hyphen-minus and the Unicode minus sign take the same replacement.

Why can a downloaded character display as a box?

Some fonts omit modifier or subscript letters. Open the file in a font with the relevant Unicode glyphs to check the displayed text.

Sources

Put it into practice.

Related guides