px ⇄ rem / em Converter
Convert pixels and relative CSS units. Runs offline on your device in the browser or vipervoid CLI/MCP. Configurable options include Value, Reference font size (px), Convert.
Quick Reference
Convert pixels and relative CSS units. Runs offline on your device in the browser or vipervoid CLI/MCP. Configurable options include Value, Reference font size (px), Convert.
- Input: Options only
- Runtime: On-device Browser UI, Node CLI (vipervoid), and MCP
- Options: Value (default: 24); Reference font size (px) (default: 16); Convert (default: px to rem)
- Example:
Run directly with default or custom options->Deterministic local output displayed for copy, download, or JSON inspection - CLI:
vipervoid run px-to-rem --opt n="24"
Related Design tools
- SVG to PNG — Rasterize local SVG at a preset scale or custom width.
- Color Picker — Convert a CSS color to HEX, RGB, HSL, HSV and OKLCH.
- Contrast Checker — Measure contrast and find nearby AA or AAA text colors.
- CSS clamp() Generator — Interpolate fluid font size between two viewport widths.
- Viewport Unit Calculator — Convert a viewport-relative length into pixels or back to viewport units.
- 8px Grid Calculator — Snap a dimension to the nearest spacing increment.