Tool to convert numbers with negabinary. The Negabinary system allow to represent positive and negative numbers without bit sign in a binary format (0 and 1) using the base -2.

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day! A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

How to recognize a positive or negative integer in negabinary?

In nega-binary, negative integers(with a minus sign in base 10) have an even number of bits, while the positive integers(with a plus sign in base 10) have an odd number of bits.

Source code

dCode retains ownership of the online 'Négabinary' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Négabinary' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Négabinary' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Négabinary' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

Please, check our dCode Discord community for help requests! NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Négabinary' tool, so feel free to write! Thank you!

Thanks to your feedback and relevant comments, dCode has developed the best 'Négabinary' tool, so feel free to write! Thank you!