Former AFL player Colin Sylvia has pleaded guilty to using stolen credit card details at a Melbourne brothel and to buy pornography.

The ex-Melbourne and Fremantle midfielder also used the details, which he copied from a customer when he worked at a Renault dealership, to transfer more than $4000 into an online betting account.

Sylvia, 32, pleaded guilty to several charges in Melbourne Magistrates Court on Monday, including fraudulently using the credit card details at a brothel.

He bought two one-hour sessions at the now-closed Daily Planet at Elsternwick, each costing more than $300, the court was told.