Analytical techniques for analyte quantification are often complex, time-consuming, and costly. Further, samples must be carefully prepared to make them suitable for each analytical technique, thus increasing complexity and cost and often requiring toxic solvents. In this paper, we propose a simple and quick method for the pre-concentration of analytes using a nonporous adsorbent: nanosilica, which is prepared from rice husks, an ecofriendly waste material. Subsequently, analysis using high-performance liquid chromatography with a photodiode array detector was used for accurate analyte quantification. To test our method, Sudan I and II dyes were selected because these are potential carcinogens that are often used to adulterate foods because of their bright colors. Although nanosilica has been used as an adsorbent before, the adsorption of hydrophobic organic dyes has not been investigated to date. Thus, the optimal conditions for dye adsorption on nanosilica were systematically studied and found to be 1 mM KCl, pH 3.0, and an adsorption time of 120 min, and the maximum adsorption capacities of the nanosilica for Sudan I and II were 0.619 and 0.699 mg·g−1, respectively. The adsorption of the dyes on the nanosilica is discussed in detail with respect to the surface area, functional groups, zeta potential, and adsorption isotherms. Under optimal conditions, the extraction efficiencies of Sudan I and Sudan II reached 98.3% and 92.8%, respectively, and the proposed method was applied for the analysis of several foods and achieved high recoveries (80–100%).