Filamentous fungi are critical in the transition to a more sustainable food system. While genetic modification of these organisms has promise for enhancing the nutritional value, sensory appeal, and scalability of fungal foods, genetic tools and demonstrated use cases for bioengineered food production by edible strains are lacking. Here, we develop a modular synthetic biology toolkit for Aspergillus oryzae, an edible fungus used in fermented foods, protein production, and meat alternatives. Our toolkit includes a CRISPR-Cas9 method for gene integration, neutral loci, and tunable promoters. We use these tools to elevate intracellular levels of the nutraceutical ergothioneine and the flavor-and color molecule heme in the edible biomass. The strain overproducing heme is red in color and is readily formulated into imitation meat patties with minimal processing. These findings highlight the promise of synthetic biology to enhance fungal foods and provide useful genetic tools for applications in food production and beyond.