No, it is not safe to open unknown text files. They could contain malicious code, malware, or a virus. Even if the text file seems harmless, it could still contain something dangerous that could cause harm to your computer or your data. It’s recommended to scan any unknown files before opening them to ensure they are safe.