REM / PX Converter
v1.0The REM / PX Converter converts between rem and px as you type. Type into either field and the other updates, with no convert button.
Preset root sizes (14, 16 and 18px) cover the usual cases, and a custom field takes any other. Changing the root keeps the px value and recalculates the rem. A swap control flips which field comes first.
A pt equivalent and a note about em appear as extra context. The em note reminds you that em equals rem only where the element's own font-size is the root. A specimen shows editable sample text at the converted size, with the on-screen size limited to a sensible range so extreme values don't break the layout. A reference table lists every 0.25rem step up to 4rem plus common px sizes (hairlines, icon sizes, spacing steps), recalculated for the current root. Each row has a copy button that gives text like 0.25rem (4px).
Your values, root font-size, field order and sample text are remembered on this device, and Share puts the conversion in a link. Nothing is sent anywhere.