How to Open and Filter a VCF Variant File
Open .vcf and .vcf.gz files in your browser, read INFO and genotype fields, filter by quality, region and frequency, see summaries and export the results.

How to Open and Filter a VCF Variant File
A VCF file is the usual end product of a sequencing pipeline: a list of every position where a sample differs from the reference genome. A single exome holds tens of thousands of lines and a genome millions, and each line packs a dozen fields into tab-separated columns. Spreadsheets struggle with that. The free VCF Genomic Variant File Viewer opens the file in your browser and makes it searchable.
A word about health: the viewer shows what is in the file and nothing more. It does not tell you whether a variant matters, and a variant in a personal genome is not a diagnosis. For health questions, talk to a genetic counsellor or doctor.
How a VCF is laid out
The file begins with meta lines starting with two hash signs. They declare the file format version, the reference contigs, the filters the pipeline applied and, most usefully, every INFO and FORMAT field with its type and a description. Then comes the header row, starting with #CHROM, which names the columns and the samples.
Each record has eight fixed columns: chromosome, position, ID, reference allele, alternate alleles, QUAL, FILTER and INFO. INFO is a semicolon-separated list such as DP=34;AF=0.5;MQ=60. If the file has samples, a FORMAT column follows, for example GT:AD:DP:GQ, and then one column per sample in that layout, such as 0/1:18,16:34:99. The GT part is the genotype: 0/0 matches the reference, 0/1 is heterozygous and 1/1 is homozygous for the alternate allele.
Large files are usually compressed with bgzip into .vcf.gz. This is a series of small gzip blocks, which allows fast lookups with an index. The viewer decompresses all blocks in the browser and does not need the index.
Opening and choosing columns
Drop the file. The summary line gives the version, number of records, samples and the count of INFO and FORMAT fields. Records are shown 50 per page with chromosome, position, ID, alleles, QUAL, FILTER and the variant class: SNV, MNV, insertion, deletion, complex indel or structural variant.
Open the INFO columns list and tick the fields you care about, such as AF for allele frequency, DP for depth or a gene field if your pipeline annotated one. Hover over a name to read its description from the header. Genotypes of up to six samples appear in the table, coloured blue for heterozygous and red for homozygous alternate.
Filtering
The filter panel combines several tests. Pick a chromosome and a position range to look at a region. Set a minimum QUAL and tick PASS only to drop low-confidence calls. Choose a variant class. Add INFO conditions such as AF below 0.01, DP above 20 or a field being present. Pick a sample and a genotype to find, for example, all heterozygous calls in one family member. The search box finds IDs such as rs numbers or any text in the INFO column. Each change can be undone.
Looking at a record
Tap a row to open it. Every INFO value appears with its description, and every sample's FORMAT values appear in a table. Flag the record and write a note, such as check coverage or confirm by Sanger. Flags stay in the browser, can be shown alone and are written to the CSV export.
Summary charts
The Summary tab describes the records that pass your filters: counts by class, records per chromosome, the transition to transversion ratio for SNVs, a QUAL histogram, an allele frequency histogram when AF exists and per-sample genotype counts with the het to hom-alt ratio. These are standard quality checks; a Ts/Tv far from about 2 for a human genome, for example, often points to many false calls.
Exporting
Export the filtered records as CSV with your chosen columns, genotypes and flags, or as a VCF that keeps the original header so that bcftools, IGV or other tools can read it.
Limits
Files beyond two million records are read up to that limit. The viewer does not annotate variants, query databases or predict effects. For exploring calls, checking quality and cutting a file down to what you need, it gives you a fast, private view, since genetic data never leaves your computer.


