pip install unidecode python import unidecode ascii_text = unidecode.unidecode(text) print(ascii_text)