This is the tool that I use to remove them. There are 2 kinds of staple removers. The other one looks like a claw, but that will grab the carpet fibers
You want to use this one, otherwise your nails will break trying to get the staples out of the carpet fibers. Quick and easy.