CONVERSION WORKBENCH · VERSION 1.0.0

Typography Unit Converter

Convert CSS lengths using configurable font sizes, viewport dimensions and pixels per inch.

Local processingBatch files + ZIPResult + audit exports
Settings & files

Conversion settings

Font & viewport context
Generate a value range

Quick presets

Open files

Up to 1,000 rows and 200,000 input characters. Decimal points and scientific notation are supported; unit codes are case-sensitive. Text files must use UTF-8.

Try the example, paste input or open a file to begin.

Convert through px: input × source factor ÷ target factor. Unit codes are case-sensitive. CSS relative lengths depend on the context you enter; CSS physical units normally use 96 pixels per inch.

Supported units & reference factors

Each factor converts one unit to px. Codes use u for micro. These are starting-context factors; your editable font, viewport and PPI settings determine the actual conversion.

Unit codeFactor to px
px1
pt1.3333333333333333
pc16
in96
cm37.79527559055118
mm3.7795275590551185
em16
rem16
vw12.8
vh7.2
Conversion audit
Compare units for the first valid input
File batch status
Saved comparisons · current tab

Using Typography Unit Converter

Convert CSS lengths using configurable font sizes, viewport dimensions and pixels per inch.

  1. Select the conversion direction or source and target units, then review the format-specific settings.
  2. Paste your input, try an editable example or open files. Choose Convert and inspect the preview and audit.
  3. Download the actual result, export an audit or report, or convert up to 10 files into a ZIP. Review any errors before using the output.

Example

16 px
1 em
12 pt

Questions & answers

What can Typography Unit Converter convert?

Convert CSS lengths using configurable font sizes, viewport dimensions and pixels per inch.

Which format rules should I check?

Convert through px: input × source factor ÷ target factor. Unit codes are case-sensitive. CSS relative lengths depend on the context you enter; CSS physical units normally use 96 pixels per inch.

Can I convert several files?

Yes. Open up to 10 files, select the settings and choose Convert files to ZIP. The status table identifies converted and failed files. The downloaded ZIP includes outputs and an audit; failures are not silently treated as successful.

How do I check the result?

Review each row, its source code and numeric result. Compare the first valid input in all supported units, swap source and target, or feed the converted values back as input. Formatting affects display only.

What are the limits?

Up to 1,000 rows and 200,000 input characters. Decimal points and scientific notation are supported; unit codes are case-sensitive.

Is input sent to a conversion service?

The conversion runs locally in a browser worker with bundled scripts. No conversion API is called. Copying and downloads happen only when you click their buttons. Saved comparisons stay in this tab and are cleared by reload. Ad-supported pages can load third-party scripts.

Help improve this tool

Report a problem or suggest an improvement

Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

Find another tool · Read practical guides