Convert your file
Convert your raw DNA file to the 23andMe format.
Many DNA tools only read 23andMe files. Drop the export from AncestryDNA, MyHeritage, FamilyTreeDNA, Living DNA or WeGene and get the same data back in the 23andMe layout: four tab-separated columns, with chromosomes named X, Y and MT. The conversion runs inside this tab, and the file never leaves your device.
Reads files from AncestryDNA · MyHeritage · FamilyTreeDNA · Living DNA · WeGene · 23andMe
No raw file yet? How to download it from your provider →
Runs on your device · nothing uploaded · no account
.txt · .csv · .zip · .gz
Drop your raw DNA file here
The export from your provider, not a PDF or an ancestry summary.
Converted in this browser tab. Your file is not sent anywhere; only anonymous counts (the provider and the number of rows) go to our cookieless statistics.
What the converter changes
- ●The layout: four columns (rsid, chromosome, position, genotype) separated by tabs, under comment lines that start with #.
- ●AncestryDNA's two allele columns become one genotype, and its chromosome numbers 23, 24, 25 and 26 become X, Y, X and MT.
- ●The quotes and commas of MyHeritage and FamilyTreeDNA files are removed, and every no-call is written as --.
- ●On the Y chromosome and mitochondrial DNA, a repeated letter (AA) becomes one letter (A), as 23andMe writes it.
What it does not change
- ○Your genotypes and positions. Every call is copied as your provider wrote it; nothing is guessed, filled in or imputed.
- ○The reference build. Positions stay on the build of the source file (build 37 for the supported exports); they are not moved to build 38.
- ○The set of markers. The file still holds only what your test measured, so a tool written for 23andMe can give different results than it would for a real 23andMe file.
- ○Where your data is. Nothing is uploaded; verify it in the Network tab of your browser.
How to
How to convert AncestryDNA or MyHeritage raw data to the 23andMe format
Some analysis tools accept only 23andMe files, or read the other layouts less reliably. Every consumer export holds the same kind of data, one marker per line with its position and your two calls, so it can be rewritten without loss.
- 1Download the raw data file from your provider. A .zip or .gz download works without unzipping.
- 2Drop it on the converter at the top of this page. It is read in this tab; nothing is uploaded.
- 3Check the counts: markers written, no-calls, and any rows left out.
- 4Download the .txt file and give it to the tool that asks for a 23andMe file. Keep your original download as well.
What the 23andMe format looks like
A 23andMe raw data file is plain text. Lines that start with # are comments; every other line is one marker, with four values separated by tabs:
# rsid chromosome position genotype rs4477212 1 82154 AA rs3094315 1 752566 AG rs5939319 X 2700157 GG rs3928306 MT 3010 G
How the other exports differ
- AncestryDNA: five tab-separated columns, with the two alleles apart, and the numbers 23 to 26 for X, Y, the region X and Y share, and mitochondrial DNA.
- MyHeritage and FamilyTreeDNA: the four columns in quotes, separated by commas (a CSV file).
- Living DNA and WeGene: four tab-separated columns already, under their own header lines.
Questions
Converting raw DNA files
- Why convert a raw DNA file to the 23andMe format?
- Because some tools were written for 23andMe files and reject or misread the other layouts. The 23andMe layout is the simplest of the consumer formats, which is why it is the one most tools accept.
- Is anything lost in the conversion?
- No genotype is changed. Rows that have no position, or that sit on a chromosome the 23andMe format has no name for (some exports use 0 for markers without a known place), are left out and counted in the result.
- Will a converted file behave exactly like a real 23andMe file?
- The layout will; the content will not. Each test reads a different set of markers, so a tool that looks for a marker only 23andMe measures will not find it. The first lines of the file say that it was converted, and from which provider.
- Is my DNA file uploaded?
- No. The file is opened and rewritten by code running in this page, and the result is saved straight from your browser. Only anonymous counts (the provider and the number of rows) reach our cookieless statistics. You can check this in the Network tab of your browser's developer tools.
- Do I need to convert my file to use Full Human Health?
- No. The reports and the file checker read AncestryDNA, MyHeritage, FamilyTreeDNA, Living DNA, WeGene and 23andMe files as they are.
- Can it convert to the AncestryDNA format, or convert a VCF file?
- Not yet. It writes the 23andMe layout only, and it does not read VCF or whole-genome files.