Convert Fine-Tuning Datasets — ShareGPT, Alpaca, OpenAI, Anthropic
Convert training data between the six common chat formats, and validate the result against the rules the upload endpoints enforce.
This converter moves fine-tuning data between the OpenAI chat, Anthropic messages, ShareGPT, Alpaca, Gemini and ChatML formats. Everything passes through one canonical representation, so system prompts, role names and multi-turn structure survive the conversion, and the result is checked against the structural rules the training endpoints enforce — first turn must be user, roles must alternate, and there must be something for the model to learn from.
Runs in your browser- Formats
- OpenAI, Anthropic, ShareGPT, Alpaca, Gemini, ChatML and plain text
- Validates
- Role alternation, first and last turn, empty content, format-specific limits
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why does my dataset fail to upload even though the JSON is valid?
What happens to multi-turn conversations converted to Alpaca?
Where does the system prompt go?
How to use the fine-tuning dataset converter
- 1Enter or paste your dataset.
- 2Choose the from.
- 3Choose the to.
- 4Turn "Validate structure" on or off as needed.
- 5Turn "Drop rows with errors" on or off as needed.
- 6Press Run, then download the result when it is ready.
Sources & specifications
Embed this tool
Put the working fine-tuning dataset converter on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Last updated
More ai & llm tools