sampleSNPs is a set of programs and a library that quickly sample records from files. A stand-alone program, sampleSNPs, that is dedicated to sampling DNA sequence variants is included. The C++ library also has facilities for sampling from arbitrary binary or text files. The software is maintained by Tony Greenberg. Source code is available on GitHub.