Yes, it's generally safe to delete .DS_Store files. These files are created by macOS to store directory-specific settings, and they don't contain any personal data.