Navin Singh | navin.sh

Command Palette

Search for a command to run...

CSS Unit Converter

Convert px, rem, em, %, vw and vh with configurable context.

Runs locally in your browser. No data is sent to a server.

About CSS Unit Converter

Convert CSS length values between px, rem, em, percentage, vw and vh. Set a custom root font size for accurate px-to-rem and rem-to-px calculations, configure element font size for em conversions, and adjust viewport dimensions and a percentage reference size to match your layout context. All conversions update instantly in the browser — nothing is sent to a server.