Numerous molecular machines are required to drive the central dogma of molecular biology. However, the means by which these numerous proteins emerged in the early evolutionary stage of life remains enigmatic. Many of them possess small β-barrel folds with different topologies, represented by double-psi β-barrels (DPBBs) conserved in DNA and RNA polymerases, and similar but topologically distinct six-stranded β-barrel RIFT or five-stranded β-barrel folds such as OB and SH3 in ribosomal proteins. Here, we discover that the previously reconstructed ancient DPBB sequence could also adopt a β-barrel fold named Double-Zeta β-barrel (DZBB), as a metamorphic protein. The DZBB fold is not found in any modern protein, although its structure shares similarities with RIFT and OB. Indeed, DZBB could be transformed into them through simple engineering experiments. Furthermore, the OB designs could be further converted into SH3 by circular-permutation as previously predicted. These results indicate that these β-barrels diversified quickly from a common ancestor at the beginning of the central dogma evolution.