Lab — Dev Tools

PX ⇄ REM Converter

PX ⇄ REM Converter is a free online tool that converts pixel values to rem units and back at any root font size — type a value, get the exact conversion instantly, copy the result or a ready-to-paste CSS declaration, and check the quick reference table for common sizes. No account, nothing leaves the page.

px
rem

Press Enter in the px field to copy the rem value. Your base size is remembered on this device.

CSS snippet


  

Common values ·

pxrem

Click any rem value to copy it.

How it works