Convert pixels to rem and back, or convert a whole block of CSS at once.

How to use

  1. Set your base font size (usually 16px).
  2. Enter px or rem.
  3. Or paste CSS to convert every px value.

Frequently asked questions

What is rem?

A CSS unit relative to the root font size, which helps layouts scale with user settings.

More free tools: see all tools.