Chat Dataset Converter
Convert between OpenAI chat, ShareGPT, Alpaca and prompt/completion.
Input dataset (JSONL or JSON array)
Drop a file here
or choose a file — it never leaves your device
Converted dataset
About the Chat Dataset Converter
Auto-detect the shape of a chat dataset and convert it to any other common training format: OpenAI messages JSONL, ShareGPT conversations, Alpaca instruction/input/output, plain prompt/completion pairs or Anthropic system + messages. Optionally inject a default system prompt into every record.
Examples
OpenAI to ShareGPT
{"messages":[{"role":"user",...}]}Output
{"conversations":[{"from":"human",...}]}Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
AI Dataset Deduplicator
AI & LLM
Remove exact and near-duplicate rows from fine-tuning datasets.
AI Dataset Statistics Analyzer
AI & LLM
Profile a JSONL training set: token stats, roles, duplicates and cost.
AI PII & Secret Redactor
AI & LLM
Strip emails, keys, tokens and personal data before prompting an LLM.
AI Token Counter
AI & LLM
Count exact LLM tokens for GPT, Claude and Gemini prompts.
AI Tool Schema Builder
AI & LLM
Build function-calling schemas for OpenAI, Claude, Gemini, MCP and the AI SDK.
AI Tool Schema Converter
AI & LLM
Convert function-calling schemas between OpenAI, Anthropic, Gemini and MCP.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-15 · Runs entirely in your browser