NEW YORK – It can store the information from a million CDs in a space no bigger than your little finger, and could keep it safe for centuries.

Is this some new electronic gadget? Nope. It’s DNA.

The genetic material has long held all the information needed to make plants and animals, and now some scientists are saying it could help handle the growing storage needs of today’s information society.

Researchers reported Wednesday that they had stored all 154 Shakespeare sonnets, a photo, a scientific paper, and a 26-second sound clip from Martin Luther King Jr.’s “I Have a Dream” speech. That all fit in a barely visible bit of DNA in a test tube.

The process involved converting the ones and zeroes of digital information into the four-letter alphabet of DNA code. That code was used to create strands of synthetic DNA. Then machines “read” the DNA molecules and recovered the encoded information. That reading process took two weeks, but technological advances are driving that time down, said Ewan Birney of the European Bioinformatics Institute in Hinxton, England. He’s an author of a report published online by the journal Nature.

The technology might work in the near term for large archives that have to be kept safe for centuries, like national historical records or huge library holdings, said study co-author Nick Goldman of the institute. Maybe in a decade it could become feasible for consumers to store information they want to have around in 50 years, like wedding photos or videos for future grandchildren, Goldman said in an email.

The researchers said it couldn’t accidentally become part of the genetic machinery of a living thing because of its coding scheme.