OptiQL is an embedded domain-specific language for data querying and transformation developed as a research project from Stanford University's Pervasive Parallelism Laboratory (PPL).

OptiQL provides parallel functional operators on Tables (collections of Records) using a syntax influenced heavily by SQL. The main design goal of OptiQL is to provide substantially better performance than standard collections libraries on large datasets by applying advanced domain-specific compiler optimizations and by exploiting parallelism. OptiQL is primarily designed to operate on in-memory data structures but also provides efficient parallel parsing of tables from text files.