The Extension Charm is this directory's page for the Undetectable Extension Charm, the magic that makes a container bigger inside than it is outside. The official encyclopedia's fact file, titled "The Undetectable Extention Charm", describes an advanced and heavily controlled spell that "was used to expand the interior space of an object without changing the external dimensions", and records the incantation Capacious extremis — correcting the old stub, which listed the incantation as unknown. The Harry Potter Lexicon's entry files the same charm with the incantation Capacious Extremis and cites its story uses chapter by chapter, from Hermione Granger's beaded handbag in Deathly Hallows to the borrowed tent at the Quidditch World Cup. The registry keeps no separate Undetectable Extension page, so this entry serves that role; the everyday packing spell Pack Charm is different magic and stays separate.
The official fact file gives the spell's purpose as creating "a large space within a smaller one", and both sources agree on the defining limit: only the inside changes. The Lexicon notes the Ministry strictly regulates the charm, since it could be misused to fit many wizards into a small space such as a restroom stall, and records that some uses sat outside the rules: Mr Weasley's enlarged Ford Anglia and Hermione's handbag were technically against the guidelines, though no charges were ever filed, while enlarged trunks and family tents were permitted. That is why the Weasleys could lawfully camp in Perkins's tent at the World Cup.
The casting itself is presented as difficult. The Lexicon quotes Hermione's own verdict on her handbag — "Tricky, but I think I've done it okay" — and describes the finished bag as weighing no more than a normal bag of its size. The sources give no wand movement, and no failure scene is recorded, though the same entry treats Barty Crouch Jr.'s use of the charm to hold the real Alastor Moody inside a seven-lock trunk as misuse. The spell is also not the same as the Erecto incantation that pitches a tent: one raises the canvas, the other enlarges the space within it.
Two uses carry the plot. In Deathly Hallows, Hermione casts the charm on a small beaded handbag so the trio can carry books, a tent and supplies on the run; the official fact file adds that she used it "to carry all the essentials, including a mobile library" while hunting Horcruxes, and notes the same use appears in the Part 1 film. Earlier, in Goblet of Fire, the trio sleeps in Perkins's old tent at the Quidditch World Cup — shabby and two-man from outside, roomy as a three-room flat inside — which the registry records as an Enchanted Tent.
Beyond the camp, the Lexicon traces the charm through Arthur Weasley's flying car in Chamber of Secrets and the false Moody's compartment-riddled Magical Trunk in Goblet of Fire, where Barty Crouch Jr. kept his prisoner. The official fact file also credits Newt Scamander's famous briefcase — a menagerie inside a case — from the Fantastic Beasts film. The full directory of named magic is the Spellcraft & Incantations Overview.