A detergent composition comprising a polypeptide of glycosyl hydrolase family 5 having xanthan degrading activity, wherein the polypeptide is selected from the group consisting of: (a) a polypeptide having at least 60%, at least 65%, at least 70%, at least 75%, at least 80%, at least 81%, at least 82%, at least 83%, at least 84%, at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide of SEQ ID NO: 6; (b) a polypeptide encoded by a polynucleotide having at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide coding sequence of SEQ ID NO: 5; (c) a variant of the mature polypeptide of any of SEQ ID NO: 6 comprising a substitution, deletion, and/or insertion, wherein the number of amino acid substitutions, deletions, and/or insertions introduced into the mature polypeptide of SEQ ID NO: 6 is up to 10, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10; (d) a fragment of the polypeptide of (a), (b), or (c) that has xanthan degrading activity; and (e) a polypeptide comprising the polypeptide of (a), (b), (c), or (d) and a N-terminal and/or C-terminal His-tag; (f) a polypeptide having at least 60%, at least 65%, at least 70%, at least 75%, at least 80%, at least 81%, at least 82%, at least 83%, at least 84%, at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide of any of SEQ ID NO: 2, SEQ ID NO: 4, or SEQ ID NO: 8; (g) a polypeptide encoded by a polynucleotide having at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide coding sequence of any of SEQ ID NO: 1, SEQ ID NO: 3, or SEQ ID NO: 7; (h) a variant of the mature polypeptide of any of SEQ ID NO: 2, SEQ ID NO: 4, or SEQ ID NO: 8 comprising a substitution, deletion, and/or insertion at one or more positions, wherein the number of amino acid substitutions, deletions, and/or insertions introduced into the mature polypeptide of SEQ ID NO: 2, SEQ ID NO: 4, or SEQ ID NO: 8 is up to 10, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10; (i) a fragment of the polypeptide of (f), (g), or (h) that has xanthan degrading activity; and (j) a polypeptide comprising the polypeptide of (f), (g), (h), or (i) and a N-terminal and/or C-terminal His-tag. (a) a polypeptide having at least 60%, at least 65%, at least 70%, at least 75%, at least 80%, at least 81%, at least 82%, at least 83%, at least 84%, at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide of SEQ ID NO: 6; (b) a polypeptide encoded by a polynucleotide having at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide coding sequence of SEQ ID NO: 5; (c) a variant of the mature polypeptide of any of SEQ ID NO: 6 comprising a substitution, deletion, and/or insertion, wherein the number of amino acid substitutions, deletions, and/or insertions introduced into the mature polypeptide of SEQ ID NO: 6 is up to 10, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10; (d) a fragment of the polypeptide of (a), (b), or (c) that has xanthan degrading activity; and (e) a polypeptide comprising the polypeptide of (a), (b), (c), or (d) and a N-terminal and/or C-terminal His-tag; (f) a polypeptide having at least 60%, at least 65%, at least 70%, at least 75%, at least 80%, at least 81%, at least 82%, at least 83%, at least 84%, at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide of any of SEQ ID NO: 2, SEQ ID NO: 4, or SEQ ID NO: 8; (g) a polypeptide encoded by a polynucleotide having at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, at least 99%, or 100% sequence identity to the mature polypeptide coding sequence of any of SEQ ID NO: 1, SEQ ID NO: 3, or SEQ ID NO: 7; (h) a variant of the mature polypeptide of any of SEQ ID NO: 2, SEQ ID NO: 4, or SEQ ID NO: 8 comprising a substitution, deletion, and/or insertion at one or more positions, wherein the number of amino acid substitutions, deletions, and/or insertions introduced into the mature polypeptide of SEQ ID NO: 2, SEQ ID NO: 4, or SEQ ID NO: 8 is up to 10, e.g., 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10; (i) a fragment of the polypeptide of (f), (g), or (h) that has xanthan degrading activity; and (j) a polypeptide comprising the polypeptide of (f), (g), (h), or (i) and a N-terminal and/or C-terminal His-tag.