Unary Coding

Represent non-negative integers as repeated bits with a terminator. Compare standard, inverted and truncated unary variants, keeping external boundaries when needed.

Unary Coding
0 characters
Ready when you are

Add your input, adjust the options and run the tool.

—
Options
Runs in your browser
No input saved

How to use this tool

01

Add your input

Paste text or choose a file. Try the example to get started.

02

Choose your options

Encode integer sequences with explicit, reversible bit-level codewords and checked boundaries.

03

Inspect and export

Review the processing notes, then copy or download the result. Continue with another tool if needed.