Count One Bits
Count the 1 bits (population count) in binary, decimal or hex numbers.
FreeNo uploadNo sign-up
Loading the tool…
How to use the Count One Bits
- Type or paste your input into the Input box, or upload a text file.
- Adjust the options under the tool. The result updates as you type.
- Copy the output or download it as a file.
Private by design
The Count One Bits runs entirely in your web browser. Nothing you open here is uploaded to a server, so it is safe to use with private files and keeps working if your connection drops after the page has loaded.
Frequently asked questions
Is the Count One Bits free?
Yes. The Count One Bits on Codegres.org is completely free, with no sign-up, no limits and no watermark.
Is my data uploaded anywhere?
No. The Count One Bits runs entirely in your browser using JavaScript, so your data never leaves your device and is not stored or seen by anyone.
Does the Count One Bits work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux, with nothing to install.