QR Code Generator
Turn any text or link into a QR code in your browser. Set the size and color, watch it update as you type, then download a PNG. The data is encoded into the image itself and is not uploaded.
Convert length, weight and volume units in your browser. Pick a category, type a value and the result appears at once, worked out through a fixed base unit with standard factors.
Updated
Your browser is preparing the tool. It runs 100% locally.
Choose a category (Length, Weight or Volume), pick the 'from' and 'to' units and type a value. The converted figure appears straight away, rounded to six decimals. Each conversion goes through a base unit (metre, kilogram or litre) with fixed standard factors, so the same input always gives the same answer. Volume units are US customary (a 3.785-litre gallon), and 'ton' means the metric tonne. It all runs in your browser.
Pick Length, Weight or Volume and the unit menus fill with that category's options; the result updates as you type. Length covers metre, kilometre, centimetre, mile, yard, foot and inch. Weight covers kilogram, gram, pound, ounce and tonne. Volume covers litre, millilitre, US gallon, US cup and cubic metre.
The answer is shown to six decimal places with trailing zeros trimmed, and the arithmetic is the same every time. Nothing is sent anywhere; the conversion happens on your device.
Each unit is stored as a factor of one base unit per category: the metre for length, the kilogram for weight and the litre for volume. To convert, the tool multiplies your value by the 'from' factor to get the base unit, then divides by the 'to' factor.
The factors come from the standard definitions: an inch is exactly 25.4 mm, a foot 0.3048 m, a yard 0.9144 m and a pound 0.45359237 kg (held here to six figures). Because every conversion passes through the base unit, any pair in a category works without a separate factor for each combination.
The conversion factors are the internationally agreed definitions: the 1959 international yard-and-pound agreement (inch 25.4 mm, yard 0.9144 m, pound 0.45359237 kg) for imperial length and weight, US customary definitions for volume (gallon 3.785 L, cup 236.6 mL), and the metric tonne (1,000 kg). They are constants inside the tool, so no result depends on a network call.
result = value × factor(from) ÷ factor(to)
(factor = the unit's size in the category's base unit: metre, kilogram or litre)5 miles → kilometres: 5 × 1609.34 ÷ 1000 = 8.0467 km2 pounds → grams: 2 × 0.453592 ÷ 0.001 = 907.184 g3 US gallons → litres: 3 × 3.78541 ÷ 1 = 11.35623 LResults are rounded to six decimal places with trailing zeros removed. The mile and pound factors are held to six significant figures (true values 1609.344 m and 0.45359237 kg), so very large conversions can differ in the last digit.
Every conversion goes through a base unit
| Categories | Length, Weight, Volume |
|---|---|
| Length units | metre, km, cm, mile, yard, foot, inch |
| Weight units | kilogram, gram, pound, ounce, tonne |
| Volume units | litre, millilitre, US gallon, US cup, cubic metre |
| Method | Factor through a base unit (metre / kg / litre) |
| Volume system | US customary (not imperial) |
| 'ton' | Metric tonne, 1,000 kg |
| Rounding | 6 decimal places, trailing zeros trimmed |
| Where it runs | In your browser; nothing is uploaded |
Volume is US customary: the gallon is 3.785 L and the cup 236.6 mL. A UK (imperial) gallon is about 20% larger at 4.546 L, so don't use these figures for a British recipe or fuel amount.
'Ton' here is the metric tonne (1,000 kg), not the US short ton (907 kg) or the UK long ton (1,016 kg). Check which one your source means.
The mile and pound factors are held to six figures (1609.34 m, 0.453592 kg) instead of their exact values (1609.344 m, 0.45359237 kg). For everyday use the difference is tiny, but it can show in the last digit of a very large conversion.
Results round to six decimal places, so a fraction like one-third of a unit is shown rounded, not as a repeating decimal.
It covers length, weight and volume only. Temperature, area, speed, data size, pressure and time are not included. Temperature needs an offset as well as a factor, so it has its own tool.
US gallon vs UK gallon
Convert cups, millilitres and grams when a recipe comes from another country.
Switch between inches, centimetres, feet and metres for a build or a room.
Make sense of miles, kilometres, pounds and kilograms abroad.
Check unit-conversion answers, with the factor shown so you can work them by hand.
For temperatures, use the temperature converter, since it needs an offset rather than a factor. Imperial UK volumes and units outside length, weight and volume are not covered here.
The factors are the internationally agreed definitions (the 1959 yard-and-pound agreement and US customary volume), stored as constants in the page. The same input always gives the same answer, and nothing leaves your browser.
Turn any text or link into a QR code in your browser. Set the size and color, watch it update as you type, then download a PNG. The data is encoded into the image itself and is not uploaded.
A stopwatch and a countdown timer on one page. Count up with lap splits, or count down from any number of minutes, timed from your device clock.
Type or paste text, choose a voice and a speed, and your browser reads it aloud using the voices already installed on your device.
Compress an image to JPEG with a quality slider and watch the file size drop as you drag, in your browser.
Combine several PDFs into one file in the order you choose, without leaving your browser.
Count words, characters, sentences and paragraphs as you type, with reading and speaking time alongside.
Paste or pick your input at the top of the page. The conversion runs on this device and needs no account.