Smart materials based on biomaterials have been shown growing interest by researchers. This paper investigated pH-indicator film with less leaching containing betalain molecule extracted from red prickly pear fixed in the cellulose-alginate blend as a matrix. Herein, the film was manufactured from a blend containing covalently bounded cellulose with betalain via the creation of a Fischer esterification (FE) to solve the leaching problem of dyes in contact with food. The structural, thermal, morphological optical, and mechanical properties and the pH-sensitive properties of films were examined. The FTIR and color analysis confirmed the fisher esterification. The fisher esterification led to a pH-indicator film with less leaching with significant color stability against UV light. The smart film changes colors with the pH values, where it goes from purple at a pH below 10 to yellow color at a pH above 10. All those proprieties with contact angles helped this film to be used as an intelligent film for monitoring salmon spoilage.