Refactoring Guru | Visitor Visitor is a behavioral design pattern that lets you separate algorithms from the objects on which they operate.