Version 1.0 · iPhone
Support for pxrem
pxrem converts design units on your iPhone: pixels to points, rem to em, pixels to rem, whole stylesheets from px to rem, and a base size into a modular type scale. Every result leaves as ready-to-paste CSS.
- UnitsPX↔PT, REM↔EM, PX↔REM, CSS File
- Type ScaleRatios, steps, .css export
- Devices & SavedScreen sizes, kept snippets
- QuestionsShort answers
- Write to usEmail support
pxrem › Units
The four unit tools
PX↔PT
Pick a direction, type a value and choose @1x, @2x or @3x. The panel shows the result, the pixel count at every density and the print-point value.
48px @3x = 16pt
REM↔EM
Choose the input unit (rem, em or px), then set the root size and the parent size with the minus and plus buttons. rem follows the root, em follows the parent.
1.5rem, root 16, parent 20 = 24px = 1.2em
PX↔REM
Enter a value and a root size. Below the result is a quick table of common sizes: tap a row to copy that rem value, or copy the whole table as CSS custom properties.
CSS File
- Tap Import stylesheet and pick a .css, .scss, .less or .txt file (up to 5 MB).
- Choose px → rem or rem → px, set the root size, and decide whether 1px hairlines stay as they are.
- Tap Convert. A new copy is written to Saved; your original is never changed. Use Share or Save to Files to take it out.
pxrem › Type Scale
Building a type scale
Each step is the base size multiplied by the ratio once more. Set the base and root, step through the eight ratios with the arrows, and choose how many steps go up and down. Specimens update live.
--step-2: 1.7778rem; /* 28.44px */
h1 { font-size: var(--step-5); }
Copy CSS copies the tokens; Export .css file saves a file and opens the share sheet.
pxrem › Devices · pxrem › Saved
Devices and Saved
Devices
Switch between iPhone and iPad. Each row lists points, scale, native pixels and ppi. The copy icon copies a media query; the arrow opens PX↔PT at that density.
Saved
Anything you tap Save on, plus every converted stylesheet, lands here newest first. Copy, share or delete each entry, or clear them all.
Lost in the folders? Tap any name in the path bar at the top of the app to jump back to it.
Questions
Why does 1pt equal 1 CSS px but not 1 print point?
iOS points and CSS pixels are both reference units, so they match. Print points are 1/72 inch while CSS fixes 96px per inch, so 1 print pt is 1.333 CSS px. pxrem shows both.
How do I change the 16px root everywhere at once?
Open Settings › Defaults and set the root font size. REM↔EM, PX↔REM, Type Scale and CSS File all pick it up immediately.
My converted stylesheet still contains some px values.
With "Keep 1px" switched on, 1px borders are deliberately left alone. Values attached to identifiers or inside hex colours are also skipped so nothing breaks.
A device is missing from the list.
The list covers common recent models in portrait. Email us the model and we will consider it for an update.
Can I turn off the click sound?
Yes: Settings › Feedback › Snap sound. The sound also stays quiet when your silent switch is on. Haptics have their own toggle.
Write to us
Send a note with your iPhone model and what you were converting. We usually reply within two business days.
You can also reach this address from inside the app: Settings › Support › Contact support.