Yes, you can recycle dirty glass. You just need to clean the inside of the glass to remove any residue. However, not all recycling companies accept dirty glass containers, so you better check the company you are going to send the glass containers to.