A simple smartphone-based digital image colorimetry was proposed for the determination of total capsaicinoid content and the assessment of chili pepper pungency. The biobased solvent D-limonene was used for the first time to isolate analytes. Capsaicinoids were efficiently separated from chili pepper by solid–liquid extraction with D-limonene followed by partitioning of the analytes into the ammonium hydroxide solution to eliminate the matrix interference effect. For colorimetric detection of total capsaicinoid content, a selective chromogenic reaction was performed using Gibbs reagent (2,6-dichloroquinone-4-chloroimide). Measurements were performed using a smartphone-based setup and included image analysis with the program ImageJ. The limit of detection of the proposed procedure was 0.15 mg g−1. The intra-day repeatability did not exceed 10.0 %. The inter-day repeatability was less than 16.5 %. The comparison of the smartphone-based procedure with high-performance liquid chromatography showed satisfactory results.