Dittany heals through a recorded range of forms, from the raw herb to the refined Essence of Dittany. The official wizarding-plants feature states that "the healing properties of dittany are very valuable" and that the Essence "can help to quickly heal wounds and can even reduce scarring." The Harry Potter Lexicon adds the raw-herb mechanics: it "may be eaten raw or applied as a tincture to cure wounds, provided they are not too deep." The mechanism is topical and timely — applied to the injury, and applied fast — and its best-known user is Hermione Granger, whose bottle in her beaded bag treated the Splinching of Ron Weasley in Deathly Hallows.
The healing mechanism has two tiers. The plant tier is the Lexicon's: dittany eaten raw or applied as a tincture cures wounds, with the recorded ceiling "provided they are not too deep." The potion tier is the official feature's: the Essence of Dittany quickly heals wounds and can reduce scarring. The feature also frames the herb as one that "straddles both the magical and Muggle worlds" — dittany is a real plant name outside the series — and notes it was very lucky that Hermione carried a bottle in her "amazing, beaded bag" when Ron Splinched himself.
Two specialist applications sit beside the general wound-healing. The Lexicon records that a mixture of powdered silver and dittany applied to a fresh werewolf bite staunchs the bleeding without curing lycanthropy, and that dittany can heal Doxy bites. Neither is a disease cure: in the werewolf case the mechanism is explicitly limited to stopping the victim bleeding out. The herb heals damage; it does not reverse what caused the damage.
The mechanism is shown, not just described. In Deathly Hallows, per the Lexicon's chapter record, Hermione's Essence treated Ron's Splinching injuries, Harry's burn from a Horcrux locket and Nagini's bite at Godric's Hollow, and the trio's wounds after the Gringotts escape. In Half-Blood Prince, Draco Malfoy received dittany for the cuts caused by the Sectumsempra curse of Harry Potter, with Severus Snape noting that immediate dittany might avoid scarring. The herb also entered the story quietly years earlier: Harry researched it in One Thousand Magical Herbs and Fungi for first-year Herbology homework in Philosopher's Stone.
The record even crosses species. The Lexicon notes that Newt Scamander used dittany to treat an injured Zouwu in the Fantastic Beasts: The Crimes of Grindelwald film, so the healing mechanism is not limited to human patients. For the classroom side, see Pomona Sprout and Herbology; for the hospital context, Poppy Pomfrey and Healing Magic.
The verb matters. The old stub for this page claimed dittany prevents scars; the official feature says the Essence "can even reduce scarring," and Snape's remark about avoiding scarring is conditional on immediacy. Reduce, and might avoid if prompt, is the supported strength — not a guarantee. Depth also bounds the raw and tincture forms, and nothing in the opened sources shows dittany curing disease, regrowing tissue or raising the dead; the registry reserves stronger effects for Skele-Gro, Phoenix Tear and pages such as Phoenix Tear Healing.
Dittany is likewise not its shelf-mates. Murtlap Essence soothes rather than dittany's fast wound-healing, as Murtlap Essence Soothing records, and the Doxy-bite use connects to pest-control potions like Doxysicide, not to love potions or mood potions. The werewolf-bite use pairs with Wolfsbane Potion Effects as the two recorded answers to lycanthropy's harms — one stops the bleeding, the other is a monthly treatment — and neither is a cure.