The healing of a wound under tension (hereafter, “tension wound”) often coincides with the development of hypertrophic scars in clinical settings. Currently, compress bandages offer a potential alternative for the healing of tension wounds; however, their application in surgery is limited due to their prefabricated patch form. To overcome this, a tension-shielding hydrogel system was designed using photocurable catechol-grafted hyaluronic acid and tannic-acid silver nanoparticles (hereafter, “HTA system”). The hydrogel exhibited tension-shielding capacity, reducing wound tension via shape-fixation and ultimately reducing scar formation. The HTA hydrogel exhibited superior photothermal antibacterial efficacy, self-healing properties, and effective dissipation of energy, thereby promoting tissue regeneration. The hydrogel significantly inhibited the mechanotransduction pathway, thus preventing Engrailed-1 activation and reducing the fibrotic response. The HTA hydrogel system, therefore, provides a treatment strategy for tension wounds, burn wounds and other wounds that are prone to form hypertrophic scars via creating a tension-free local environment. Statement of significanceIn our study, we presented a wound-dressing hydrogel system (HTA) that exhibit shape-fixing capacity in tension wound model. Here, we designed and modified a tension regulator, applied it to mice, and furthermore, established a tension wound model in mice with adjustable tension. Outcomes showed that the HTA hydrogel system can effectively form a shape-fixed environment on tension wounds and dynamic wounds, thus promoting scarless healing. Additionally, HTA performs injectability, rapid crosslinking, biocompatibility, wet adhesion, hemostasis and photothermal antibacterial properties. We believe this research has various potential clinical applications, including scarless-healing in tension wounds, treatment of acute bleeding, treatment of infected wounds, and even internal organ repair.