Load source dataset
Paste or drop Alpaca JSONL, ShareGPT JSON, or CSV prompt/completion columns.
Normalize instruction/input/output rows and ShareGPT transcripts into OpenAI-compliant messages JSONL with custom system prompts locally.
Select dataset file
accepts Alpaca JSONL, ShareGPT, JSON & CSV.jsonl · .json · .csv
Zero upload limits · Runs in browser RAM
Alpaca & ShareGPT → ChatML
{"instruction":"Translate SQL to English","input":"SELECT COUNT(*) FROM orders WHERE paid = 1;","output":"Count all paid orders."}
{"instruction":"Explain JSONL","input":"","output":"JSONL stores one valid JSON object per line."}{"messages":[{"role":"system","content":"You are a helpful, concise assistant."},{"role":"user","content":"Translate SQL to English\n\nSELECT COUNT(*) FROM orders WHERE paid = 1;"},{"role":"assistant","content":"Count all paid orders."}]}
{"messages":[{"role":"system","content":"You are a helpful, concise assistant."},{"role":"user","content":"Explain JSONL"},{"role":"assistant","content":"JSONL stores one valid JSON object per line."}]}| Property | Source: JSON | Target: JSONL |
|---|---|---|
| File extension | .json | .jsonl |
| MIME type | application/json | application/x-ndjson |
| Structure type | Hierarchical | Line Stream |
| Encoding | UTF-8 Text | UTF-8 Text |
| Nesting support | Yes | Yes |
| LLM token efficiency | Low | Medium |
| Schema / typed | No | No |
| Best for | REST/GraphQL API payloads, nested web state, structured AI outputs, and universal cross-language interchange. | LLM fine-tuning datasets (OpenAI/Anthropic ChatML), evaluation benchmarks, batch APIs, and append-only structured logs. |
Convert Alpaca, ShareGPT, CSV, or prompt/completion pairs into validated OpenAI ChatML messages[] fine-tuning JSONL.
Paste or drop Alpaca JSONL, ShareGPT JSON, or CSV prompt/completion columns.
Customize the system prompt and map source prompt/completion column names.
Download ready-to-train .jsonl or pass straight into JSONL Validator.
Audit every JSONL line for syntax errors, OpenAI ChatML role alternation, missing assistant turns, and per-line BPE token limits.
Split large JSONL datasets into exact-line ZIP shards or merge and deduplicate multiple JSONL files in browser memory.
Anonymize emails, phones, IPs, cards, dates & amounts into reversible [[TYPE-NN]] tokens locally — then restore AI responses cleanly.
It handles Alpaca {instruction, input, output}, ShareGPT {conversations}, custom CSV columns, and existing messages JSONL.
Yes. Edit Default system prompt and it prepends cleanly as { role: 'system', content: ... }.
Yes. Keep Validate OpenAI messages[] schema enabled for instant structural checks.