Hack the Hydra

Unit converter

Type one conversion per line, such as 10 km to mi, 72 F to C or 2 cups to ml. Every line is converted at once, so you can paste a whole recipe or a list of measurements.

🔒 Private by design: the conversion runs in this browser tab. Nothing is uploaded.

Unit converter is a free online tool by Hack the Hydra. Convert units by typing "10 km to mi" or "72 F to C": length, weight, volume, cooking cups, area, speed, temperature and data sizes. Many conversions at once, exact factors, free and private.

100% freeNo upload: runs in your browserNo sign-up
Unit converter: the tool with a sample file converted

Supported units

mm, cm, m, km, in, ft, yd, mi, nmi · mg, g, kg, t, oz, lb, st · ml, cl, dl, l, m3, tsp, tbsp, floz, cup, pt, qt, gal · mm2, cm2, m2, ha, km2, in2, ft2, yd2, acre, mi2 · m/s, km/h, mph, kn · C, F, K · B, KB, MB, GB, TB, KiB, MiB, GiB, TiB. Common spellings also work: miles, feet, inches, pounds, kilograms, liters or litres, gallons, Celsius and Fahrenheit.

Exact factors

Imperial units use their legal definitions: 1 inch is exactly 2.54 cm, 1 pound is exactly 0.45359237 kg, 1 mile is 1609.344 m. Volume units such as cup, pint, quart, gallon and fluid ounce are US customary units (1 US gallon = 3.785411784 litres); the UK gallon is about 20% larger. Results are rounded to 10 significant digits.

Temperature and data sizes

Temperatures are converted with offsets, not just factors: 0 °C is 32 °F and 273.15 K. For data, KB, MB and GB are decimal (1 MB = 1,000,000 bytes, as used by disk makers), while KiB, MiB and GiB are binary (1 MiB = 1,048,576 bytes, as shown by many operating systems). That difference is why a "1 TB" drive shows about 931 GiB.

Example

Four conversions pasted at once: distance, temperature, a cooking measure and a disk size.

Input

10 km to mi
72 F to C
2 cups to ml
1 TB to GiB

Output

10 km = 6.213711922 mi
72 F = 22.22222222 C
2 cups = 473.176473 ml
1 TB = 931.3225746 GiB

How to use

  1. Type a number, a unit, the word "to" and the target unit, one conversion per line.
  2. Read the result on the matching line.
  3. Copy or download the whole list.

FAQ

How many miles is 10 km?

10 km is 6.213711922 miles. One mile is exactly 1.609344 km.

How do I convert Fahrenheit to Celsius?

Subtract 32, then multiply by 5/9. 72 °F is 22.2 °C. To go the other way, multiply by 9/5 and add 32.

Are cups US or metric cups?

US cups (236.59 ml). A metric cup is 250 ml, so for recipes written with metric cups multiply by 250 instead.

Is anything sent to a server?

No. The conversion is done by JavaScript in your browser.

More free converters

PDF to Markdown converterOCR PDF: scanned PDF to textImage to text (OCR)Word (DOCX) to Markdown converterExcel & CSV to Markdown tablesHTML to Markdown converterPowerPoint (PPTX) to Markdown converterJSON to Markdown tablePDF to text converterExcel to JSON converterMarkdown to HTML converterMerge PDF filesSplit PDF: extract pagesRotate PDFJPG to PDF converterPDF to JPG converterImage converter: PNG, JPG, WebPCompress image: JPG and WebPQR code generatorWord counterCase converterJSON formatter and validatorBase64 encode and decodeURL encoder and decoderUUID v4 generatorStrong password generatorLorem ipsum generatorJSON to CSV converterRemove duplicate linesUnix timestamp converterJSON to YAML converterText diff checkerImage resizerPercentage calculatorAge calculatorHash generator (SHA-256, SHA-1, SHA-512)Color converter: HEX, RGB, HSLDays between dates calculatorYAML to JSON converterJWT decoderBinary, hex, decimal and octal converterRoman numeral converterRegex testerCron expression explainerPDF to Markdown for ChatGPTPDF to Markdown for ClaudePDF to Markdown for RAG pipelinesPDF to Markdown for ObsidianPDF to Notion (via Markdown)Screenshot to textFrench OCR: image to textCSV to Markdown tableGoogle Docs to MarkdownJPG / JPEG to text (OCR)PNG to text (OCR)CSV to JSON converterPNG to JPG converterJPG to PNG converterWebP to PNG converter