PX to REM Converter
Convert px to rem & em for CSS.
Paste any CSS or list of values — every px is converted at once.
This free PX to REM converter turns pixel values into rem,em, % and pt for responsive CSS, and back again — edit any field and the rest update live. Set your root font size (16px by default) or tap a preset, including the popular62.5% trick that makes 1rem = 10px for easier math. Using rem keeps your layout scalable and respects the reader's browser font-size preference.
Control rounding precision from auto down to a fixed number of decimals, copy a ready-to-paste CSS snippet for any property, and see a live text preview at the converted size. The batch converter rewrites an entire stylesheet at once: paste any CSS or a list of values and everypx is converted to your chosen unit, with the result syntax-highlighted and ready to copy or download. A reference table of common sizes is included.
Related tools
JSON Formatter
Format, beautify & validate JSON data.
Base64 Encoder / Decoder
Encode and decode Base64 text instantly.
URL Encoder / Decoder
Percent-encode and decode URLs safely.
Regex Tester
Test regular expressions with live match highlighting.
JWT Decoder
Decode JWT header and payload claims.
Timestamp Converter
Convert Unix timestamps to dates and back.