⌘ CodersEditor

All tools / AI tools

AI Chat History Converter

Convert text messages to a transcript or speaker/text turns to messages.

For reverse conversion use direction to-messages and turns with speaker and text fields; transcripts are not parsed.

How to use AI Chat History Converter

Load the example, edit the input using the same format, and select Run. Review the output before copying or downloading.

Example input

{
  "direction": "to-transcript",
  "messages": [
    {
      "role": "user",
      "content": "Explain JSON"
    },
    {
      "role": "assistant",
      "content": "JSON represents structured data."
    }
  ]
}

Example output

USER: Explain JSON

ASSISTANT: JSON represents structured data.

Frequently asked questions

What does this tool do?

Convert text messages to a transcript or speaker/text turns to messages.

What are the limitations?

For reverse conversion use direction to-messages and turns with speaker and text fields; transcripts are not parsed.

Does it call an AI API?

No. Tool processing runs in your browser. The site separately loads advertising and analytics scripts.

Related tools

AI Token Budget Calculator

LLM Token Counter (Estimate)

AI API Cost Calculator