dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day! A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Perform a draw between 2 values like 0 and 1 and assign 0 to head and 1 to tail.

Example: Draw of 10 consecutive toss coins: 1,0,1,0,0,1,0,1,1,0

How to simulate a dice roll?

Perform a draw between 6 values (default from 1 to 6).

This kind of generator guarantees an unbiased draw

How to generate a random digit on Excel?

Select an empty box and enter the formula: =INT(RAND()*10)

Source code

dCode retains ownership of the source code of the script Random Digits online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Random Digits script for offline use on PC, iPhone or Android, ask for price quote on contact page !