The same chapter he dies in the actual book. Chapter 23: Malfoy Manor.
Dobby dies in Chapter 23, titled "Malfoy Manor," in the Harry Potter and the Deathly Hallows audio book read by Stephen Fry.
The chapter is 'The Will Of Albus Dumbledore'.
Harry Potter :The Deathly Hallows part 2
Chapter 12.
The final chapter is called "A Flaw In The Plan"
Page 160
The Dark Lord Ascending
Page 529
The Ghoul in Pajamas.
In Harry Potter And The Deathly Hallows Harry gos back to Hogwarts in the 29th chapter.
-chapter 31- the battle of hogwarts
The Dark Lord Ascending
Charity Burbage.