PrivacyGuard is an open source DICOM (Digital Imaging and Communications in Medicine) de-identification toolkit that provides the necessary flexibility to account for different de-identification requirements and does not impose a given anonymisation model. It also provides a mechanism for forwarding the anonymous output to a remote site using either SFTP (SSH File Transfer Protocol) or DICOM communications protocol. The core functionality is contained in a Java library, which we have used to develop two DICOM anonymisation applications; these are included in the toolkit: one for DICOM files contained in a folder and one for objects received via the DICOM protocol (a receiver). A separate graphical application is provided to help users in policy writing and configuration.