Python library
Presidio
Open-source identification and anonymization modules for private entities in text and images, such as names, locations and phone numbers. It works on free text; @cosyte/deid works on structured documents and blocks free text by default.