They’re both great, depending on what you’re looking for. Montreal has a more urban feel than Quebec City, with more to explore, while Quebec City has more old-town charm, and their attractions are more bunched together.