Convert text size between em, px, and pt, then preview it with the selected browser-safe font and text styling.
Base: 1em 16px 12pt
Target: 2em 32px 24pt
To convert between px or pt and em, you must first select a base size in pixels or points. The target size can then be entered in em, px, or pt.
You can also specify the font family, font weight, line height, letter spacing, text color, and background color for the text preview. To perform conversion, click the Convert button.
The tool shows the base and the target text size values in pt, px and em and also generates a preview of the text along with the matching CSS code shown below the preview. The preview and generated CSS use the converted em value and the selected browser-safe font family and text style.
About CSS Text Size Units
font-size.
For example:
If the base font size is 16px, then 3 em = 3 * 16px = 48px = 36pt.
See also:
CSS Type Scale
CSS Unit Converter