Like many others I use Excel. I have separate tabs for long guns and pistols. I put down the model, special notes, where I purchased it, when, cost, if I sold it (never happens), estimated value and any accessories I put on it. Insurance company loves the info.
I take pictures of everything...