← All tools
// Generator

Random Fraction & Byte Generator

Generate random fractions, bytes, floats and percentages — all in your browser

Random generator mascot
by
CHUNKY
MUNSTER

About the Generator

What is a random fraction?

A fraction p/q where both numerator and denominator are chosen randomly within bounds. Enable "Reduce to lowest terms" to simplify using GCD (e.g. 4/8 → 1/2).

What is a random byte?

A random integer 0–255 (8 bits). Byte mode uses crypto.getRandomValues() — cryptographically secure randomness from your operating system's entropy source.

Are these cryptographically secure?

Byte mode uses crypto.getRandomValues() (CSPRNG). Fraction, float, and percentage modes use Math.random() — fine for testing but not for security-sensitive applications.