Cotabby logo
Cotabby

Help · Using Cotabby

calculate and convert directly in any text field

Use Cotabby slash macros for offline arithmetic, unit and approximate currency conversion, dates, times, random numbers, dice, coin flips, and UUIDs.

By Jacob Fu · Updated · 7 minute read

Slash macros preview deterministic local results before insertion.

type slash, query, accept

Macro evaluation is deterministic and local. It does not ask the AI model to calculate, convert, or generate the value.

complete macro families

Arithmetic

/5+5=10
/2^10=1024
/(3+4)*5=35
/100*15%=15

Units

/10km->miMiles equivalent
/100f->cCelsius equivalent
/5ft->mMeters equivalent
/2lb->kgKilograms equivalent

Currency

/100usd->eurApproximate EUR
/50gbp->jpyApproximate JPY
/$25 to cadApproximate CAD

Date and time

/todayLocalized date
/next-friNext Friday
/+3dThree days from now
/today(iso)ISO date
/now(24h)24-hour time

Random generators

/random(1,6)Number from 1 to 6
/d20D20 roll
/coinHeads or tails
/uuidNew UUID

currency rates are approximate

Unit conversions use Apple Foundation Measurement locally. Date and time output follows the Mac's locale unless a format such as (iso) or (24h) is requested.

if a macro does not resolve

Confirm Inline Macros is enabled in Settings → General, type the slash at the beginning of the query, and test a known expression such as /5+5= in Notes. Unsupported or malformed queries remain ordinary text rather than inserting a guessed answer.

Check your accept-word shortcut if the preview appears but cannot be inserted.

related help

try Cotabby on your Mac

Free, open source, and local. Use Apple Intelligence or a GGUF model, then accept the next word with Tab.

View source