Skip to content

EM to PX Converter

Convert em values to pixels from a parent font size, as a list or inside pasted CSS rules.

Runs in your browserCSS / em → CSS / px
Loading tool…

Example

Input
h2 { font-size: 1.25em; margin: .5em 0; }
Output
h2 { font-size: 20px; margin: 8px 0; }

How to use the EM to PX Converter

  1. Paste or type your CSS / em into the input area, or open a file from your device.
  2. Adjust the options above the editor if the tool offers any.
  3. Review the CSS / px result, then copy it or download it as a file.

Privacy and limitations

  • Your data is processed on your device and is not uploaded to any server.

Browse all css tools →