Anticode Open builder

Build a unit converter app for baking, sewing, engineering or any niche you work in

General converters list hundreds of units and still miss the one conversion you need every day. A unit converter app built for your niche shows only your units, rounds the way your trade expects, and handles the special cases, like cups of flour versus cups of sugar. Anticode can build one that runs in the browser with no network. It leaves out currency, which needs live rates.

Updated · By the Anticode team

Choose the niche, then the units

The value of a custom measurement converter comes from what it leaves out. Start by listing the conversions you look up most, and the precision each needs:

Niche converters and their awkward cases
NicheEveryday conversionsThe awkward part
BakingCups, tablespoons and teaspoons to grams and millilitres; oven temperatures; tin sizesA cup weighs different amounts for different ingredients
Sewing and knittingInches and centimetres, yards and metres of fabric, needle and hook sizesNeedle sizes are lookup tables, not formulas
EngineeringPressure, torque, flow, energySignificant figures and unit prefixes
BrewingGravity scales, volumes, temperaturesSome conversions are approximations, not exact formulas
Travel and fitnessMiles and kilometres, pace per mile and per km, stones and kilogramsPace converts inversely

The cooking conversion problem

Volume to volume is exact: a US cup is a fixed number of millilitres. Volume to weight isn't, because it depends on density. A cooking conversion calculator therefore needs an ingredient list, each with grams per cup, and must say which cup it means (US and metric cups differ slightly). Ask for a small editable table of the ingredients you actually use, starting values written by the model, and check them against a source you trust before you bake with them.

Oven temperatures are a lookup too: Celsius, fan, Fahrenheit and gas mark rarely map by formula in the way recipes print them.

Rounding and display

  • Precision per unit. Grams to the nearest gram, teaspoons to the nearest quarter, millimetres to one decimal place, engineering values to a set number of significant figures.
  • Fractions where people use them. 3/8 inch reads better than 0.375 inch to anyone with a tape measure.
  • Both directions at once. Type in either field and the other updates, with no Convert button.
  • Several outputs. Type 250 g and see cups, ounces and tablespoons together.
  • Copy the result. Ask for a copy button and test it on your phone and computer.

Why currency is left out

Anticode's apps run in a sandbox with no network, so they can't fetch exchange rates. A currency converter with rates written into the code would be wrong within hours and misleading for anything that matters. The honest options are to leave currency out, or to let the user type in today's rate themselves and label it clearly as their own. Anything else that changes over time, such as fuel prices or shipping rates, has the same problem.

Describing your converter

"A unit converter app for a home baker. Volume: US cups, tablespoons, teaspoons, millilitres. Weight: grams, ounces. An ingredient picker (plain flour, caster sugar, brown sugar, butter, honey, cocoa, oats, milk) with grams per cup that I can edit. Oven: Celsius, fan, Fahrenheit, gas mark as a lookup. Tin sizes: round and square, with a scale factor for the recipe. Two-way fields, fractions for spoons, whole grams. Calm cream and cocoa colours, large inputs for a phone on the worktop."

Anticode's model writes this as one app. Test it against known values: a conversion you're certain of in each category, a zero, a very large number, and typing a comma instead of a decimal point. Edits to the ingredient table can be saved in your browser if you ask for it.

Limits

  • No live rates. Currency, commodity and fuel prices can't be fetched.
  • No camera measuring. It can't measure anything from a photo or use the camera.
  • Formulas are yours to check. The model writes standard conversion factors, but for professional work verify each factor against a recognised reference.
  • Not a scientific calculator. For multi-step calculations with your own formula, see the custom calculator builder.

For cooks, the recipe app page covers scaling inside recipes. For time zones, a separate tool, see the time zone converter.

Questions people ask

Does the unit converter app work offline?

Conversions need no network once it's open, and installed published sites have an offline fallback. Test it offline once.

Can I add my own units?

Yes. Ask for an editable list of units with a factor, saved in your browser.

Can it convert currency?

Not with live rates. You can type in a rate yourself, clearly labelled.