developer
JSON Path Tester
Test JSONPath expressions against JSON data. Supports dot notation, arrays, slicing, and wildcards.
Convert between px, em, and rem CSS units. Set custom root and parent font sizes with a reference table.
EM / REM calculator
Set your base font size and convert between CSS units instantly.
Reference table
| px | rem | em | Preview |
|---|
How to use
REM (root em) units are relative to the root element's font size (usually the html element, defaulting to 16px). EM units are relative to the parent element's font size. So 1rem always equals the root font size, while 1em equals whatever the parent's font size is. This distinction matters when nesting elements — ems compound while rems stay consistent.
Using rem units is a best practice for responsive design because they respect the user's browser font size settings. If a user sets their default to 20px instead of 16px, all rem-based sizes scale proportionally. The common conversion at 16px base: 1rem = 16px, 0.875rem = 14px, 1.125rem = 18px, 1.5rem = 24px.
More Developer tools
Related tools
developer
Test JSONPath expressions against JSON data. Supports dot notation, arrays, slicing, and wildcards.
developer
Create gradient borders with live preview and generated CSS code. Customize colors, width, radius, and angle.
developer
Visual flexbox layout builder. Configure direction, alignment, wrapping, and gap — copy the CSS.
converter
Convert JSON arrays to CSV and CSV to JSON instantly in your browser. Download CSV files with one click.