I often have to generate the FizzBuzz sequence so I created this simple online utility that does it for me. It lets you calculate however many FizzBuzz series numbers you need, starting from any value. It works in the browser and is powered by alien technology from the future.

Fizzbuzz Sequence Generator Options

Start, Count, and Separator
Custom Fizz and Buzz
FizzBuzz Base

Fizzbuzz Sequence Generator Examples (click to try!)

One Hundred Fizz Buzz Elements
This example generates one hundred Fizz Buzz elements. The starting value option is set to 1, the count option is set to 100, and the element separator is set to a star.
1 * 2 * Fizz * 4 * Buzz * Fizz * 7 * 8 * Fizz * Buzz * 11 * Fizz * 13 * 14 * FizzBuzz * 16 * 17 * Fizz * 19 * Buzz * Fizz * 22 * 23 * Fizz * Buzz * 26 * Fizz * 28 * 29 * FizzBuzz * 31 * 32 * Fizz * 34 * Buzz * Fizz * 37 * 38 * Fizz * Buzz * 41 * Fizz * 43 * 44 * FizzBuzz * 46 * 47 * Fizz * 49 * Buzz * Fizz * 52 * 53 * Fizz * Buzz * 56 * Fizz * 58 * 59 * FizzBuzz * 61 * 62 * Fizz * 64 * Buzz * Fizz * 67 * 68 * Fizz * Buzz * 71 * Fizz * 73 * 74 * FizzBuzz * 76 * 77 * Fizz * 79 * Buzz * Fizz * 82 * 83 * Fizz * Buzz * 86 * Fizz * 88 * 89 * FizzBuzz * 91 * 92 * Fizz * 94 * Buzz * Fizz * 97 * 98 * Fizz * Buzz
Starting FizzBuzz sequence value.
How many values to generate?
Separate sequence terms with this value.
Text to use for Fizz.
Text to use for Buzz.
Text to use for FizzBuzz.
Decimal Base
Fizz Buzz at One Million
In this example, we generate 25 Fizz Buzz series members starting from the 1,000,000th member. The members are separated by the newline character and each printed on a new line. It turns out that the millionth Fizz Buzz member is Buzz (because 1,000,000 is divisible by 5).
Buzz
1000001
Fizz
1000003
1000004
FizzBuzz
1000006
1000007
Fizz
1000009
Buzz
Fizz
1000012
1000013
Fizz
Buzz
1000016
Fizz
1000018
1000019
FizzBuzz
1000021
1000022
Fizz
1000024
Starting FizzBuzz sequence value.
How many values to generate?
Separate sequence terms with this value.
Text to use for Fizz.
Text to use for Buzz.
Text to use for FizzBuzz.
Decimal Base
Custom Fizz, Buzz, and Base
In this example, we create a custom FizzBuzz sequence that uses "Beep" for "Fizz", "Boop" for "Fuzz", and "BeepBoop" for "FizzBuzz". It also outputs the numbers that weren't printed as strings in hexadecimal base.
1, 2, Beep, 4, Boop, Beep, 7, 8, Beep, Boop, b, Beep, d, e, BeepBoop, 10, 11, Beep, 13, Boop, Beep, 16, 17, Beep, Boop, 1a, Beep, 1c, 1d, BeepBoop
Starting FizzBuzz sequence value.
How many values to generate?
Separate sequence terms with this value.
Text to use for Fizz.
Text to use for Buzz.
Text to use for FizzBuzz.
Hexadecimal Base

How Does This Fizzbuzz Sequence Generator Work?

This FizzBuzz series generator works entirely in your browser and is written in JavaScript. To calculate the FizzBuzz series members, it uses the fizz_buzz(n) function. This function returns Fizz, if n is divisible by 3; returns Buzz, if n is divisible by 5; and returns FizzBuzz, if n is divisible by both 3 and 5. With the help of the bignumber.js library, this FizzBuzz generator works with arbitrarily large numbers. To print the entire list, it creates a for loop from 1 to count (sequence length; specified in options) and uses bignumber's mod() function to determine if n is divisible by 3 and/or 5. It also supports custom Fizz, Buzz, and FizzBuzz values that you can change in the options, as well as a custom radix for the numeric output values. The custom radix is implemented using bignumber's toString(base) function.

Created by Browserling

This fizzbuzz sequence generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our programmer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!

Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company.