unit-converter
Convert numeric values between 100+ units across 12 measurement categories. Accepts case-insensitive input and returns the converted value along with all common units in the same category.
Instructions
Converts between 100+ units across 12 categories: length, weight, temperature, volume, speed, area, energy, pressure, data, time, angle, frequency. Handles mixed-case inputs (km, KM, Km all work). Returns the converted value plus all common units in the same category. Zero external calls — pure math.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Numeric value to convert. | |
| from | No | Source unit (e.g. 'kg', 'mi', 'f', 'kwh', 'mph', 'gb', 'psi'). Case-insensitive. | |
| to | No | Target unit. If omitted, returns all units in the same category. |