What Octabin does
Octabin is an iPhone converter for programmers, students and anyone curious about how numbers look underneath. It moves whole numbers between binary, octal, decimal and hexadecimal using its own long-number arithmetic, so values of up to 4,096 digits convert exactly with no 64-bit limit.
Version 1.0. No account, no network, everything runs on your iPhone.
Working the switch row
- The eight switches at the top show one byte of the number on the open card. Tap a switch to flip that bit.
- Use the left and right arrows beside the byte counter to move to higher or lower bytes of a long value.
- Hold one of the first five switches to jump to a card. The tag under the switch tells you which: HB, OD, BW, HI or ST.
The five cards, one by one
HEX ↔ BIN
- Type hex digits (or bits after tapping Swap).
- Read the result, grouped in fours. For values up to 32 bits a nibble ledger shows each hex digit over its four bits.
OCT ↔ DEC
- Choose BIN, OCT, DEC or HEX for the digits you type.
- The other three bases print underneath. The quick key flips between octal and decimal.
- Import .txt reads the first number from a plain text or CSV file. A 0x, 0b or 0o prefix picks the base for you.
Bitwise
- Pick the base for operands A and B, then AND, OR, XOR, NOT, SHL or SHR.
- Choose an 8, 16, 32 or 64-bit register, or FREE to keep every bit.
- Tap Use as A to chain another operation on the result.
Settings
- Turn the relay click and haptics on or off, choose upper or lower case hex and pick a digit separator.
Keeping and sending results
- Tap Keep on any card to file the result in History with the time.
- In History, restore a card to its converter, delete it, or Clear all.
- Export a single result as a .txt file, or the whole history as .csv, through the share sheet or Save to Files.
- Tap the copy key beside any readout to put the plain digits on the clipboard.
Questions from the punch room
Why does a minus sign show an error?
Octabin works with unsigned whole numbers. To see a negative value in two's complement, use the Bitwise card: enter the magnitude, apply NOT inside your register width and add one yourself.
How long can a number be?
Up to 4,096 digits per card in the base you are typing. Longer input shows a message asking you to split it.
Why is my NOT result shorter than I expected?
At FREE width, NOT flips bits only up to the highest 1 in A. Pick 8, 16, 32 or 64 to flip a whole register.
The click sound is silent. Is something wrong?
The relay click follows the ring/silent switch. Turn the switch to ring and check that Relay click is set to 1 in Settings.
My import was rejected.
Octabin reads the first value in a UTF-8 text or CSV file under 1 MB. Make sure that value only uses digits valid for its base.
How do I see the welcome cards again?
Open Settings and tap Replay intro cards.
Write to the operator
Found a wrong answer, a stuck switch, or have an idea? Send a note with your iPhone model and iOS version. Replies usually go out within two working days.
octabin9402@hotmail.comYou can also reach this address from inside the app: Settings, then Contact support.