jellykit logojellykit

PX / REM / EM Converter

Convert single values or entire CSS blocks between px, rem, em, pt, and percentages with custom root sizes.

Loading PX / REM / EM Converter in your browser — 100% client-side with zero uploads.

Related design tools

All Design tools

Color Picker

Inspect colors across HEX, RGB, HSL, and HSV with shade ramps and harmonies.

Design

Gradient Generator

Build linear, radial, and conic CSS gradients with custom stops and instant code.

Design

Box Shadow Generator

Compose layered CSS box shadows with live controls and copyable output.

Design

Contrast Checker

Check WCAG 2.1 AA and AAA color contrast ratios for text and UI elements.

Design

Palette Generator

Generate harmonious color palettes, lock favorite swatches, and copy HEX, CSS, or JSON.

Design

Border Radius Generator

Craft standard or organic 8-value CSS border-radius shapes with live visual sliders.

Design

About PX / REM / EM Converter

Convert single measurements or entire CSS stylesheets between px, rem, em, pt, and percentages with custom root and parent font sizes.

How to use PX / REM / EM Converter

  1. 1

    Set your root HTML font size (default 16px) and parent font size for em calculations.

  2. 2

    Type any pixel or rem value to see instant conversions and tap common presets in the reference grid.

  3. 3

    Paste a CSS block into the Batch Converter to switch every px declaration to rem (or rem back to px) at once.

Frequently asked questions

What is the difference between rem and em?

rem is always relative to the root <html> font size, whereas em is relative to the font size of the element’s parent container.

Does the batch converter keep zero values clean?

Yes. Values like 0px are normalized to unitless 0 while non-zero pixel measurements convert accurately using your root font size.

Are my stylesheets sent to a server for conversion?

No. Every conversion runs locally in JavaScript inside your browser.