EditSafely

Analyze Binary Data

Print statistics of the input binary values.

Runs on your device, nothing uploaded

Try:

0 chars · 0 lines

Output

Print statistics of the input binary values.

Type or paste above to see the result here.

Example: Stats

What you paste never leaves this tab

Analyze Binary Data is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, whatever you type in is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Analyze Binary Data

  1. 1. Paste the bits to inspect. Drop any run of zeros and ones into the input pane. Spaces and newlines between groups are ignored, so you can paste bytes, whole dumps or a single long bitstring as is.
  2. 2. Read the tiles. Each statistic gets its own tile: bits and bytes, ones and zeros, the ones ratio, the longest run of each bit, transitions between 0 and 1, parity, leading and trailing zeros and, up to 64 bits, the value in decimal and hex.
  3. 3. Copy the report. Use the copy button to grab the whole summary as plain text, ready to paste into a bug ticket, lab notebook or code review comment.

When to use Analyze Binary Data

Analyze Binary Data gives you a statistical profile of a bitstream without writing any code. Bit counts, the ones-to-zeros ratio and longest runs are exactly the numbers you reach for when judging whether data looks random, biased, stuck or padded, and this tool computes all of them in one paste.

  • Eyeballing a random number generator. You captured output from an RNG or a hardware entropy source. A ones ratio far from 50 percent or an unusually long run of identical bits is an immediate red flag worth investigating.
  • Spotting stuck bits in sensor captures. A logic analyzer trace from a flaky serial line can hide a stuck-at fault. The longest run statistic surfaces a suspiciously long stretch of zeros or ones that a scroll-through would miss.
  • Measuring padding in a protocol frame. When reverse engineering a binary protocol, large zero-heavy regions usually mean padding or reserved fields. The zero count and runs help you estimate how much of the frame carries real data.
  • Documenting test vectors. Before committing a binary fixture to a repository, paste it here and record its bit statistics in the accompanying comment so reviewers know what the blob contains.

Examples

Stats

Input

11100010

Output

Bits: 8
Bytes: 1
Ones: 4
Zeros: 4
Ones ratio: 50.00%
Longest run of 1s: 3
Longest run of 0s: 3
Transitions: 3 (0→1: 1, 1→0: 2)
Parity: even
Leading zeros: 0
Trailing zeros: 1
Value: 226 (0xE2)

About the Analyze Binary Data tool

Analyze Binary Data is a free online tool that works entirely inside your web browser. Print statistics of the input binary values. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 112 Binary utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

There is nothing to configure. Provide the input and the result appears on its own. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every step is handled on your own machine rather than by a remote API.

Frequently asked questions

Does Analyze Binary Data cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.