Advisory: We only operate services from the RANDOM.ORG domain. Other sites that claim to be operated by us are impostors. If in doubt, contact us.

Frequently Asked Questions (FAQ) about the Pregenerated File Archive

Q1: What is RANDOM.ORG's Pregenerated File Archive and what is it used for?

The Pregenerated File Archive contains contains a collection of files with true random data, generated by RANDOM.ORG over many years. Each file is 8,388,608 bits (one mebibyte) long, and we publish one new file every day. The file names follow the ISO 8601 standard date notation, i.e., YYYY-MM-DD. Each file is available in two formats: binary and text. Neither type of file is intended for viewing in a web browser; instead you probably want to download a file and feed it to another program. For more details, please see the Binary Files or Text Files pages.

The files are useful for people who need large amounts of true random data, for example for simulation or research purposes. In addition, the files are used as the basis for some of the pregenerated randomizations supported for example by the Integer Generator and the Sequence Generator in advanced mode. Hence, if you use one of these generators with a pregenerated randomizaton from a given day, the numbers you get are in reality created using the files listed here.

Back to Top ↑

Q2: Do I need a subscription to use the Pregenerated File Archive?

The files are quite large, and to help cover our bandwidth costs, we therefore ask that you set up an Pregenerated File Archive Subscription if you want to download the pregenerated files directly from our servers. Alternatively, you can download the files for free and without registering via BitTorrent. For more info, please see Q3.

Back to Top ↑

Q3: What is BitTorrent and how do I use it?

BitTorrent is a protocol to help share large files over the internet. To use it to download files from the Pregenerated File Archive, you first need to install a BitTorrent client and then click on any of the ‘.torrent’ files from the Binary Files or the Text Files pages.

Q4: I've downloaded some files via BitTorrent. Can I seed them?

Please do! We are very grateful for your help with this.

Back to Top ↑

Q5: How often are new files added?

A new file is published every day, shortly after midnight (UTC). New files are made available in binary as well as text formats. At the beginning of each month, we package up all the files from the previous month in an archive and make it available for download in ZIP and TGZ formats, as well as via BitTorrent.

Back to Top ↑

Q6: Some days have no files. Why are they missing?

There were some days far back in the past where no file was published due to technical problems with the scripts that generated them. The last time this happened was in October 2007, when the Pregenerated File Archive was still in its infancy.

Back to Top ↑

Q7: Has the randomness in the files been used by others?

Yes, many people use the files in the Pregenerated File Archive for many different purposes. Popular examples include simulation and modeling applications, or to test compression or encryption algorithms. This means the data in the files is not private to you.

Back to Top ↑

Q8: Has the randomness in the files passed statistical tests?

All the randomness generated by RANDOM.ORG is subjected to statistical tests and the results published on our Statistics Pages. If you want to test the data yourself, we recommend the DieHarder test suite. Note that the DieHarder tests require a lot of data, so you'll probably want to download a whole month of files or more, if you want the files for that purpose.

Back to Top ↑

Q9: Are the files copyrighted?

No, you're free to use them for what you want, as long as you don't charge money for them.

Back to Top ↑

Q10: How are the binary files formatted?

The data in the binary files is formatted as a single long string of bytes, i.e., values in the [0,255] interval. You probably don't want to open these in a web browser, but instead download them and feed them to another program.

Back to Top ↑

Q11: How are the text files formatted?

The data in the text files is formatted as a single long string of bits (0s and 1s) in ASCII character format. There is no spacing or punctuation in the files, not even a terminating line feed. You probably don't want to open these in a web browser, but instead download them and feed them to another program.

Back to Top ↑

Q12: Do you have some code that shows how to process the files?

Not at this point, unfortunately! If you have some code that you're willing to share, send us a link and we'll set up a page for it.

If you're looking to convert the true random data to different ranges, e.g., to produce coin flips, dice rolls or integers in configurable intervals, you need a ‘scaling algorithm.’ For an introduction to scaling algorithms, please see this article by Doctor Jacques.

Back to Top ↑

Q13: Is there a script that will fetch all the files in bulk?

We don't offer a script to download the whole archive, but you can download large amounts of files quite easily by clicking on the monthly files on the Binary Files or the Text Files pages.

You can also write your own script to fetch the files using shell commands like the following:

$ wget --user=username --password=secret --auth-no-challenge --content-on-error "https://archive.random.org/download?file=2020-08-14.bin"
$ curl --user username:secret "https://archive.random.org/download?file=2020-08-14.bin" > 2020-08-14.bin

(‘$’ is the Unix shell prompt.)

Back to Top ↑

Q14: Can I use RANDOM.ORG to generate my own files?

Yes! We offer a File Generation Service that lets you generate your own files with up to 20,000,000 true random values to your custom specification, e.g., alphanumeric promotional codes for printing or decimal fractions for scientific simulation. The files are generated in several formats, including plain text, CSV and Excel.

Back to Top ↑

Q15: I have a question that isn't answered in the FAQ. Can you help?

We are happy to take additional questions! Just drop us an email.

Back to Top ↑