Just because it’s called a carpet sweeper doesn’t mean it won’t work on bare floors. Many models are designed to transition from carpet to floors smoothly. Others will have the option of lowering or raising the floorhead to suit the surface.
If you have hardwood floors, however, you should be cautious. We recommend you test it out in an inconspicuous area to ensure it won’t scratch.