Activated hepatic stellate cells (HSCs) is a key event in the progression of liver fibrosis. HSCs transdifferentiate into myofibroblasts and secrete large amounts of extracellular matrix, resulting in increased liver stiffness. It is difficult for platforms constructed in vitro to simulate the structure, composition, and stiffness of the 3D microenvironment of HSCs in vivo. Here, 3D scaffolds with different stiffness are constructed by decellularizing rat livers at different stages of fibrosis. The effects of matrix stiffness on the proliferation, activation, and reversion of HSCs are studied. The results demonstrate these scaffolds have good cytocompatibility. It is also found that the high stiffness can significantly promote the activation of HSCs, and this process is accompanied by the activation of integrin β1 as well as the nucleation and activation of Yes‐associated protein (YAP). Moreover, the low stiffness of the scaffold can promote the reversion of activated HSCs, which is associated with cell apoptosis and accompanied by the inactivation of integrin β1 and YAP. These results suggest that YAP may be a potential therapeutic target for the treatment of liver fibrosis and the theoretical feasibility of inducing activated HSCs reversion to the resting state by regulating matrix stiffness of liver.