Chat Format Converter
Convert conversations between OpenAI, Anthropic, Gemini, and readable plain transcripts.
How to use
Paste an OpenAI messages object or array, Anthropic Messages request, Gemini contents request, or a transcript using User: and Assistant: labels. Auto-detect normalizes the input into one internal conversation, then serializes it to the selected target. System prompts, multipart text, base64 or URL images, function calls, results, and call IDs are preserved when the destination supports them. Images become explicit placeholders in plain transcripts, and every lossy or generated mapping is reported as a warning.
FAQ
How are Anthropic tool_use blocks converted to OpenAI?
tool_use becomes an assistant tool_call with the same ID, name, and arguments; tool_result becomes a tool-role message linked by tool_call_id.
What happens to images in a plain transcript?
The image data is replaced by a readable URL or media-type placeholder and a lossy-conversion warning is shown.
Can Gemini function responses keep call IDs?
Existing IDs are preserved. When Gemini omits one, the converter creates a stable local ID and reports that mapping in the warnings.