Tools/units/list_units

units/list_units

List common units grouped by dimension, optionally filtered by a substring.

Free / no pricing configured

What it does

Returns common, ready-to-use unit names grouped by physical dimension (length, mass, temperature, and so on). Optionally filter to dimensions or unit names containing a substring.

Primary use cases

  • Discovering the exact unit name to pass to convert.
  • Browsing what dimensions and units are supported.

Good to know

The names returned are valid from_unit / to_unit values for convert. Many other units and SI prefixes are also accepted beyond this common set. Pass query to filter (e.g. mass, byte). Computed locally.

Parameters

querystringoptional

Optional case-insensitive substring to filter dimensions or unit names (e.g. mass, byte).

units/list_units — Faro