The Hat of Holding works much like a Bag of Holding. When you lift it off your head, any item stored inside can be made to appear on top of your head as if it had been hidden under the hat all along.
The Hat can hold up to one hundred items (or containers full of items), each of which may weigh up to five pounds. The hat itself weighs half a pound.