JSON Format: Structured Data for Developers
Export complete transcription data as JSON with segments, timestamps, metadata, and speaker information for API integration.
JSON exports the transcription as structured data: the full text, every segment with its start and end time, speakers, and word-level timings with confidence scores. Use it in your own scripts, data analysis or custom tools. JSON export is available on every plan, including Free.
JSON Structure
A shortened example from a real export (one segment and two words shown):
{
"id": "cmvfviwjf00wnb6hzcwfodyhz",
"fileName": "Weekly team sync.mp3",
"text": "Speaker 1: Okay, I think everyone's here. Thanks for jumping on...",
"language": "en",
"duration": 145,
"segments": [
{
"id": 1,
"end": 10.088,
"text": "Thanks for jumping on.",
"start": 8.968,
"speaker": "SPEAKER_00",
"words": [
{ "end": 9.368, "word": "Thanks", "start": 8.968, "confidence": 0.911 },
{ "end": 9.528, "word": "for", "start": 9.368, "confidence": 0.989 }
]
}
],
"speakerNames": null,
"createdAt": "2026-10-19T23:16:45.243Z"
}
Top-Level Fields
- id - unique transcription identifier
- fileName - the file name as shown in TranscribeNext
- text - the whole transcript as one string; with speakers turned on, each turn starts with the speaker's name ("Speaker 1: β¦")
- language - language code (en, es, fr, β¦); left out if unknown
- duration - audio length in whole seconds; left out if unknown
- segments - array of timed segments (see below)
- speakerNames - names you gave the speakers, e.g. {"SPEAKER_00": "Anna"}, or null
- createdAt - creation time in ISO 8601 format (UTC)
Segment Object
- id - segment number, starting from 0
- start, end - start and end time in seconds
- text - what was said in this segment
- speaker - speaker id such as "SPEAKER_00" (only when speakers were identified)
- words - each word with its start, end and confidence from 0 to 1 (when available)
Pro Tip
Times are raw numbers and are not rounded, so you may see values like 7.768000000000001. Round them in your code if you display them.
What Changes the Output
- The "Speakers" checkbox in the toolbar: when it is off, the text has no speaker names, segments have no speaker field, and speakerNames is null
- The "Timestamps" checkbox does not affect JSON - segment times are always included
- Exported from the Translation tab or an Insights result, the file contains that text and an empty segments array
- If heavy edits mean the timings no longer match the text, segments are left out
Best Use Cases
- Custom data processing scripts
- Analytics and text mining
- Building your own subtitle or caption tools
- Importing into a database or search index
- Finding words the recognizer was unsure about (low confidence)
Processing JSON Data (JavaScript)
const data = JSON.parse(jsonString);
// Total duration in minutes
const minutes = Math.floor((data.duration ?? 0) / 60);
// Print each segment with its speaker
data.segments.forEach(segment => {
const who = data.speakerNames?.[segment.speaker] ?? segment.speaker ?? '';
console.log(`[${segment.start.toFixed(1)}s] ${who} ${segment.text}`);
});
// Words the recognizer was unsure about
const unsure = data.segments
.flatMap(seg => seg.words ?? [])
.filter(w => w.confidence < 0.5);Processing JSON Data (Python)
import json
with open('transcription.json', encoding='utf-8') as f:
data = json.load(f)
print(f"File: {data['fileName']}")
print(f"Duration: {data.get('duration', 0)} s")
names = data.get('speakerNames') or {}
for segment in data['segments']:
who = names.get(segment.get('speaker'), segment.get('speaker', ''))
print(f"[{segment['start']:.1f}s] {who} {segment['text']}")Important
Because every word is listed with its own timing, JSON files are much larger than TXT. A one-hour recording produces a file of roughly 2 MB.
Tags
Related Articles
SRT Timestamp Format: hh:mm:ss,mmm Explained
The exact SubRip timestamp syntax, hh:mm:ss,mmm --> hh:mm:ss,mmm, field by field: what each number means, the rules that break players when you get them wrong, how SRT differs from VTT and SBV, and how to export SRT from TranscribeNext.
Export Overview: Choose the Right Format
Learn about all available export formats and when to use each one for your needs.
Timestamped Transcription: Jump to Any Moment
Every TranscribeNext transcript is time-coded segment by segment. Click any timestamp to hear that moment, search the text and jump straight to it, and export the timings to TXT, SRT or JSON.
TXT Format: Simple Plain Text
Export your transcription as a clean, simple text file compatible with any text editor or application.
Related tools
- supported audio and video formats β MP3, WAV, OGG, MP4, MPEG and nine more, each with its own limits and tips.
- transcription app for Mac β record and transcribe offline with Whisper and Parakeet β free, nothing leaves the machine.
Still need help? Contact Support β Usually responds within 24h