Loading…
Converts length, weight, volume, area and speed between metric and imperial units. Use for everyday measurements; differs from currency-converter by physical units vs live money rates. Returns value with formula. 100% client-side.
Unit Converter is loading — interactive editor will appear here. Use examples below to try instantly once loaded.
Press ? for keyboard shortcuts
Unit converter covering 13 categories: Length, Mass, Volume, Temperature, Area, Speed, Time, Data Storage, Pressure, Energy, Frequency, Angle, and Fuel Economy. Displays the conversion formula used, supports swapping source/target units, saves favorite conversions, and includes a batch convert mode for converting a single value to all units in a category at once.
Unit conversion requires knowing exact conversion factors and handling many unit systems. This tool centralizes all common categories with formula transparency so users can verify calculations and convert across any pair of units.
This tool is part of the DevStackIO platform — a collection of free online developer tools from DevStackIO. Browse more free developer resources on DevStackIO.
Engineers, scientists, students, travelers, cooks, and anyone who needs to convert measurements between different unit systems (metric, imperial, etc.).
Select a category from the 13 options (Length, Mass, Volume, etc.) using the icon grid.
Enter a value in the source input; select the source and target units from their respective dropdowns.
View the converted result with the mathematical formula shown below (e.g., "°C × 9/5 + 32 = °F").
Click the swap button to exchange source and target units.
Click the star icon to save the current conversion pair to your favorites for quick access.
Use Batch Convert to see the input value converted to all units in the category in a single table.
Input: Category Temperature, 100°C → °F → Output: 212°F, formula: (100 × 9/5) + 32 = 212Input: Category Data Storage, 1024 MB, Batch Convert → Output table: 0.0009766 TB, 1 GB, 1024 MB, 1073741824 bytes, etc.Does the converter handle binary prefixes (KiB, MiB) vs. decimal prefixes (KB, MB)? Yes
Data Storage shows both binary and decimal values in batch mode.
Are conversion formulas always exact?
Most are exact by definition (e.g., 1 inch = 25.4 mm). Some, like temperature, use exact formulas.
Can I add custom units or categories? Custom units are not supported yet
use favorites to save frequently used conversion pairs.
What precision is used?
Results are displayed with up to 10 significant figures; very large or small numbers use scientific notation.
Authoritative specifications, standards, and in-depth reading for Unit Converter.
Tool is loading — interactive editor will appear here. Use examples below to try instantly once loaded.
Converts Celsius, Fahrenheit, Kelvin and Rankine instantly. Use for weather, cooking or science; differs from unit-converter by temperature scales vs length/weight. Returns all-scale equivalents. 100% client-side.
Convert JSON arrays to CSV for spreadsheets. Paste JSON, pick a delimiter, and download the CSV instantly.
Paste CSV and get JSON. Handles headers, delimiters, and spreadsheet exports — all locally.
Convert JSON to XML with root element control. Use for JSON input only; for reverse use xml-to-json, for JSON to YAML use json-to-yaml. Input: JSON ≤10MB. Returns XML or line-numbered JSON error. 100% client-side.
Convert XML to JSON preserving attributes and nesting. Use for XML input only; for reverse use json-to-xml. Input: XML ≤10MB. Returns JSON or XML parse error. 100% client-side.
Convert Markdown to HTML with live preview. Use for publishing Markdown; for editing with preview use markdown-editor, for reverse direction use html-to-markdown. Input: Markdown ≤10MB. Returns HTML. 100% client-side.
Convert HTML to Markdown for CMS exports and docs. Use for HTML input only; for Markdown to HTML use markdown-to-html. Input: HTML ≤10MB. Returns Markdown. 100% client-side.
Convert JSON to YAML for configs. Use for JSON input; for YAML validation use yaml-formatter, for TOML cross-format use toml-converter. Input: JSON ≤10MB. Returns YAML or JSON error. 100% client-side.
0 km1 m = 0 km
Kilometers = 1 Meters x conversion factor
1 Meters in every Length unit
| Unit | Value | Copy |
|---|---|---|
| Meters (m) | 0 | |
| Kilometers (km) | 1.000000e-6 | |
| Miles (mi) | 6.213712e-7 | |
| Yards (yd) | 0.001093613298 | |
| Feet (ft) | 0.003280839895 | |
| Inches (in) | 0.03937007874 | |
| Centimeters (cm) | 0 | |
| Millimeters (mm) | 1 | |
| Micrometers (um) | 1000 | |
| Nanometers (nm) | 1000000 | |
| Nautical Miles (nmi) | 5.399568e-7 | |
| Light Years (ly) | 1.056971e-19 |
Batch Convert
All conversions done client-side