The compaction and organization of genomic DNA is a central mechanism in eukaryotic cells, but engineered architectural control over double-stranded DNA (dsDNA) is notably challenging. Here, long dsDNA templates are folded into designed shapes via triplex-mediated self-assembly. Triplex-forming oligonucleotides (TFOs) bind purines in dsDNA via normal or reverse Hoogsteen interactions. In the triplex origami methodology, these non-canonical interactions are programmed to compact dsDNA (linear or plasmid) into well-defined objects, which demonstrate a variety of structural features: hollow and raster-filled, single- and multi-layered, with custom curvatures and geometries, and featuring lattice-free, square-, or honeycomb-pleated internal arrangements.