A combinatorial library was used to select a human monoclonal antibody fragment (Fab) with high affinity for G glycoprotein in herpes simplex virus type 2 (HSV-2). Tests with 112 clinical specimens demonstrated successful discrimination between HSV-2 and HSV-1, showing the potential of Fab as a low-cost tool for HSV subtyping in clinical diagnosis.