RandomNr

Bases and Numerals

Random Binary Number Generator

Generate random binary strings of any bit length, with optional grouping into bytes.

Random Binary Generator

10110011

8 bit binary

How many values

Length

Generate random binary

This tool produces random binary strings of any bit length. Set how many bits you need, from a single bit up to 256, and generate one value or a batch. Turn on grouping to space the bits into bytes for easier reading.

Bits and bytes

A bit is a single 0 or 1, and eight bits make a byte. Grouping the output into bytes matches how binary is usually written and makes long strings much easier to scan. Each bit is drawn on its own, so the string has no pattern.

Uses and privacy

Random binary suits teaching, test fixtures, mask values and low level data. Every bit comes from the browser cryptographic random source, and nothing leaves your device.

Popular generators

Frequently asked questions

What bit lengths can I use

From 1 to 256 bits, so a nibble, a byte, or a long word are all a click away.

What does group into bytes do

It inserts a space every eight bits, so a long binary string reads as bytes rather than one run of digits.

Are the bits random

Yes. Each bit is drawn from the browser cryptographic random source, so the string is unpredictable.

Can I make several

Yes, up to 500 values at once, ready to copy or export.

Is it free

Yes, free and with no sign up.

Related generators

Convert a value to binary with the number base converter, or draw hex instead.