JSON Formatter
Formats, indents and validates JSON with precise error positions, key sorting and a…
Converts subtitles between SubRip and WebVTT, fixing the timestamp separator and header, and reports overlapping or zero-length cues.
The SRT to VTT Converter converts subtitles between SubRip and WebVTT, fixing the timestamp separator and header, and reports overlapping or zero-length cues. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.
| SRT timestamp | 00:00:01,000 — comma |
|---|---|
| VTT timestamp | 00:00:01.000 — full stop |
| VTT header | The word WEBVTT on line one |
| Cue numbers | Required in SRT, optional in VTT |
| HTML5 video | Accepts VTT only |
This tool uses SubRip writes milliseconds after a comma and numbers every cue; WebVTT uses a full stop, makes the number optional, and requires a WEBVTT line at the top of the file. Every intermediate value is shown on screen, so the result can be checked by hand.
It converts timing and text. Advanced SubStation Alpha files (.ass and .ssa), with their styles and positioning, are a different format and are not handled — converting one by stripping its styling loses most of what it was for.
Formats, indents and validates JSON with precise error positions, key sorting and a…
Checks whether JSON is valid and reports the exact line, column and reason for the first error…
Strips all whitespace from JSON to produce the smallest valid output, showing the bytes saved.
Converts a JSON array of objects into CSV, flattening nested keys and handling missing fields…
Turns CSV or TSV into a JSON array of objects, with type detection for numbers and booleans.
Converts JSON into well-formed XML with a configurable root element and array item naming.
Parses XML and converts it to JSON, preserving attributes and handling repeated elements as…
Converts JSON to clean YAML with correct indentation, quoting and multi-line string handling.
Parses YAML and outputs equivalent JSON, with support for anchors, lists and nested maps.
Escapes a string for safe embedding inside JSON, and unescapes a JSON string back to plain text.