Inkhmer LogoInKhmerBuilding the digital future
  • About
  • Projects
  • Blog
  • Tools
  • Learn
  • Contact
KMខ្មែរENEnglish

InKhmer.com — a personal Khmer Digital Hub curated by our team. Tools, Cambodia resources, Khmer culture, and digital projects. Practical, approachable, and built for everyone.

Social

FacebookTelegram

Quick Links

  • About
  • Projects
  • Blog
  • Tools
  • Learn
  • Contact

Explore

  • What We Build
  • How We Build
  • Roadmap
  • Experiments
  • Sitemap

Subscribe to our newsletter

Get the latest updates about Cambodia, new tools, and exclusive content delivered to your inbox.

  • Terms of Service
  • Privacy Policy
  • Cookie Policy

© 2026 InKhmer. All rights reserved.

  1. Home
  2. Tools
  3. Translation Tools
  4. Khmer Speech to Text — Voice to Khmer Text

Khmer Speech to Text — Voice to Khmer Text

Record or upload Khmer speech and get the words back as Khmer text you can copy or download. Free daily fair-use allowance, no signup for basic use.

Record or upload Khmer speech

Checking transcription service…

Up to 120 seconds per clip, 20 MB max. Longer clips must be shortened before uploading — the server splits accepted clips internally, it never trims silently.

WAV, MP3, WebM/Opus, OGG/Opus, or MP4/M4A (AAC).

Your clip is uploaded once to the InKhmer service for transcription. It is processed transiently — not stored, not logged, not used for training. Nothing is sent while you only record or preview.

Fair use: 10 transcriptions/day without an account, 30/day signed in.

Your remaining allowance appears after the first transcription.

Powered by Krama Khmer ASR (Apache-2.0) — model repository & license

About this tool

This page turns spoken Khmer into written Khmer. Press record and speak, or upload an audio clip — a voice message, a field interview, a lecture, a meeting — and the page returns a plain-text transcript you can copy or download as a .txt file. It is for Cambodians who think faster in speech than on a keyboard: students transcribing a lecture, journalists noting an interview, staff drafting meeting minutes, or anyone who received a long voice message they would rather read than replay. Recording works in modern browsers that support MediaRecorder, and the file upload accepts WAV, MP3, WebM, OGG and MP4/M4A clips up to two minutes and 20 MB. Transcription runs on Krama Khmer ASR (Apache-2.0) hosted on InKhmer infrastructure — the audio goes to our servers once, is processed transiently, and is not stored, logged for content or used for training. What this page does not do: translate into English, identify speakers, label timestamps per speaker, or work offline — the model runs server-side.

How it works

The browser half lives in `khmer-speech-to-text-client.tsx` plus two helpers. `asr-recorder.ts` feature-detects a secure context, `getUserMedia` and `MediaRecorder.isTypeSupported`, then negotiates the first supported codec — WebM/Opus, then MP4 (Safari), then OGG/Opus — and submits the recorder’s actual MIME type and extension. Recording auto-stops at the 120-second contract cap; stopping waits for the recorder’s final `dataavailable` so the Blob is a complete encoding, never stitched chunks. `asr-api.client.ts` posts one multipart `audio` file to `POST /v1/tools/speech-to-text` with a per-clip `Idempotency-Key` (reused only when the same clip is retried after an uncertain outcome), the `X-Anon-Id` browser identity and a Clerk bearer token when signed in. Upload progress comes from real `XMLHttpRequest.upload` bytes; once the body is sent the UI shows indeterminate transcribing state. Server-side, `SpeechToTextService.transcribe` in `api/.../speech-to-text.service.ts` sniffs the container, enforces the 20 MB / 120 s caps, checks idempotency, applies the per-minute burst and the atomic daily reservation, then calls the self-hosted worker and returns an NFC-normalized transcript plus a live quota echo. If the service is unavailable, `GET /v1/tools/speech-to-text/ready` reports it and the page says so while keeping your clip in place.

Use cases

  • Transcribing a university lecture recorded on a phone so the notes can be searched and shared
  • Turning a Telegram voice message in Khmer into text you can quote, file or forward
  • Drafting meeting minutes from a recorded discussion instead of replaying the whole audio
  • Getting a rough transcript of a field interview for journalism or NGO research before manual cleanup
  • Capturing a spoken grocery list, reminder or idea as Khmer text without typing on a small keyboard
  • Reading along a recorded speech or sermon to extract quotes for an article or social post
  • Checking pronunciation feedback — speaking Khmer and seeing what the recogniser heard

Frequently asked questions

  • Is my recording uploaded anywhere?

    Yes — to InKhmer’s own API, once, when you press Transcribe. The clip is processed transiently by the self-hosted Krama Khmer ASR worker and is not durably stored, not logged for content, and not used for training; the idempotency cache keeps the result only for a bounded five-minute window. Recording and previewing alone never send audio, and nothing is written to localStorage, browser history or service-worker caches.

  • How accurate is the Khmer transcription?

    No error rate is claimed for this deployment. Krama is a Khmer speech model; real results still depend on clarity. Real results depend on clarity: clean close-mic speech transcribes well, while phone calls, background noise, music, distant speakers and heavy Khmer–English code-mixing degrade it. Always proofread names, numbers and formal text before relying on the output.

  • What are the limits — file size, length, and daily quota?

    Clips must be at most 20 MB and decode to at most 120 seconds; recording auto-stops at that cap and longer files must be shortened. Anonymous visitors get 10 transcriptions per day plus a 2-per-minute burst cap; a free signed-in account gets 30 per day plus 3 per minute; paid tiers are unlimited per day with 10 per minute. The day resets at midnight Phnom Penh time, and each completed transcription counts as one unit.

  • Which audio formats are accepted?

    WAV, MP3, WebM (typically Opus), OGG (typically Opus or Vorbis) and MP4/M4A containers such as AAC — the server sniffs the actual bytes rather than trusting the extension. Recording picks the best codec your browser supports: WebM/Opus on Chrome and Firefox, MP4/AAC on Safari. If the server cannot read the container it returns a typed unsupported-format error instead of failing silently.

  • Does it work on iPhone and Safari?

    Uploading works in any modern browser. Recording needs MediaRecorder support — current Safari on iOS and macOS supports it and this page negotiates the MP4/AAC codec Safari produces, never mislabelling the bytes as WebM. On very old browsers or in an insecure (non-HTTPS) context the record button explains the limitation and the file-upload path remains available. Permission denials and missing microphones each get their own visible state.

  • Can it tell speakers apart or add timestamps?

    No. The tool returns one continuous plain-text transcript for the whole clip. The API response can carry optional segment timestamps when the worker emits them, but there is no speaker diarisation — it will not label who said what in an interview or meeting, and it does not translate the transcript into English or any other language.

  • Why does it say my daily quota is exhausted and when does it reset?

    The service meters completed transcriptions per day to keep the free tier open: 10 per day for anonymous visitors, 30 per day for free accounts. Your remaining count and the reset instant come from the server’s quota echo, never a browser guess. Anonymous visitors see a sign-in suggestion for the larger allowance; the window resets at midnight Phnom Penh time. A short per-minute burst limit is separate — its cooldown never consumes your daily units.

  • What speech model does this tool use and who made it?

    Krama Khmer ASR — a Khmer speech model (ONNX INT8) released under the Apache-2.0 license and self-hosted on InKhmer infrastructure. Accuracy varies with audio quality, accent, and background noise. The model repository is linked from the page footer; no benchmark figure is claimed on this page.

  • Does the tool work offline or in the browser itself?

    No. This page never downloads a model — all inference happens on InKhmer’s servers through the versioned API, so an internet connection is required to transcribe. Recording and previewing the clip itself work without a connection, but submitting it for transcription does not.

  • The transcript came back empty or wrong — what should I try?

    An empty result means no speech was detected: the clip may be silent, music-only, or too degraded for the recogniser. Re-record closer to the microphone in a quieter place, trim leading silence, and speak naturally at a steady pace. Garbled output on noisy audio or Khmer–English mixing is a known limitation of the model — a clearer recording is the most reliable fix, and clips that fail never consume your daily allowance.

Data and accuracy

Transcription is `POST /v1/tools/speech-to-text` on the InKhmer API (task-261023104099): `SpeechToTextService.transcribe` sniffs the audio container, checks the Idempotency-Key replay window, applies the per-minute burst and atomic daily reservation in `asr_usage_daily`, then calls the self-hosted worker at `KHMER_ASR_WORKER_URL` running Krama Khmer ASR — no third-party speech provider is in the path. The client is `asr-api.client.ts` (multipart `audio`, `X-Anon-Id`, optional Clerk bearer) and `asr-recorder.ts` (MediaRecorder codec negotiation) in web-static. Readiness is `GET /v1/tools/speech-to-text/ready`. Content reviewed on 14 November 2026.

Sources

  • Krama Khmer ASR — the upstream Khmer speech model and its Apache-2.0 license — Nukthean (Hugging Face)
  • MediaRecorder API — the browser recording interface the record button uses — MDN Web Docs

Content last reviewed 12 November 2026

Related tools

Khmer text and translation tools that pair with this one:

  • Khmer Alphabet
  • Khmer Text-to-Speech — Listen to Khmer Text Aloud
  • Chuon Nath Dictionary (Khmer–Khmer)
  • AI Document Translator

More in this category

  • Translate English to Cambodian Khmer
  • Khmer Image to Text Converter | OCR & Formatter
  • Khmer Legacy to Unicode Converter — Limon, ABC-Zwsp and Khek to Unicode
  • Khmer to English Translator
  • Khmer Unicode to Legacy Converter — Unicode to Limon, ABC-Zwsp or Khek
  • Translate Text Between Languages
Translation Tools← Back to all tools