Skip to content
Zesona
PX to EM ConverterLocal

PX to EM Converter

Convert pixels to em for a given font size.

  • Free
  • No sign-up
  • Runs in your browser

Input

Runs in your browser

A number, e.g. 32.

The element’s font size; defaults to 16.

Fill in Pixels to continue.

Enter your input to see the result

Everything happens on this device. No upload, no account, no network request.

How to use this tool

  1. 1

    Enter a pixel value and the relevant font size.

  2. 2

    The result is the equivalent em.

Questions about PX to EM Converter

Which font size should I use?

The font size of the element the em applies to. For a top-level element that is usually the root size (16px).

Is anything sent anywhere?

No. The conversion runs entirely in your browser; the colours never leave the page.

Does the PX to EM Converter work offline?

Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the PX to EM Converter keeps working with the network switched off and nothing is ever sent to a server.

Is anything I enter into the PX to EM Converter uploaded or stored?

No. The PX to EM Converter runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.

Can I use the PX to EM Converter on a phone or tablet?

Yes. The page is responsive, so the PX to EM Converter works the same in a mobile browser as on a desktop, and there is no app to install.

Other tools you might reach for next.