Riboflavin is an essential vitamin widely used in the food, pharmaceutical, and feed industries. However, the insufficient supply of precursors caused by the imbalance of intracellular metabolic flow limits the riboflavin synthesis by industrial strains. Here, we increase riboflavin production by tuning multiple gene expression to balance intracellular metabolic flow. First, we tuned the expression of mCherry and egfp genes within operons by generating libraries of tunable intergenic regions (TIGRs) and confirmed the relative expression of the two reporter genes. The TIGR library can coordinate the expression ratio of reporter genes more than 180 times in Escherichia coli and more than 70 times in Bacillus subtilis. Next, we used this strategy to tune the expression of zwf, ribBA, and ywlf genes within operons through the TIGR library to increase the intracellular precursor pool for riboflavin biosynthesis. Based on the fluorescence characteristics of riboflavin, 96-well plates were used to screen the optimal combination mutants quickly. The best-engineered strain was selected from the library, which produced 2.7 g/L riboflavin, increasing by 64.35% in the shake flask. Finally, the riboflavin titer increased by 59.27% to 11.77 g/L in fed-batch fermentation. The strategy described here will contribute to the industrial production of riboflavin and related products by B. subtilis.