Voice to text fully offline can be done with whisper. A few apps offer it for dictation or transcription.