Soft soil poses significant challenges in highway engineering due to its low strength and high compressibility. This study proposes using xanthan gum biopolymer as an environmentally friendly agent to improve the mechanical behavior of soft soil. Laboratory tests were conducted to analyze the unconfined compressive strength (UCS) and compressibility of xanthan-gum-stabilized soft soil under dry-wet cycles. Physicochemical analysis was performed to examine the pH value, electrical conductivity, and total dissolved solids (TDS) of the stabilized soil. Additionally, microscopic tests were perform...