All tools

ChatML / Messages Formatter

Format plain text into OpenAI, Anthropic, or Ollama message JSON and validate tool schemas.

AI & Prompts
Privacy: 100% Client-Side. Your data never leaves this browser tab. Processing uses Web APIs and client-side libraries only.

Convert role-prefixed logs into provider message JSON. Validate tool parameter JSON Schemas locally.

Use lines like system:, user:, assistant:.

{
  "model": "gpt-4o",
  "messages": [
    {
      "role": "system",
      "content": "You are a concise API assistant."
    },
    {
      "role": "user",
      "content": "List the top 3 risks in this change set."
    },
    {
      "role": "assistant",
      "content": "1) Auth regression 2) CORS gap 3) Missing tests"
    },
    {
      "role": "user",
      "content": "Expand on the CORS gap."
    }
  ]
}

What is ChatML / Messages Formatter?

ChatML / Messages Formatter is part of the stbox.dev developer sandbox. Format plain text into OpenAI, Anthropic, or Ollama message JSON and validate tool schemas.

It sits in the AI & Prompts category and is designed for day-to-day debugging, demos, and learning — without forcing you to paste secrets into opaque third-party SaaS forms whenever client-side execution is enough.

How to use this tool

  1. Open ChatML / Messages Formatter at https://stbox.dev/llm-formatter and review the privacy badge for runtime expectations.
  2. Paste or configure your input in the tool interface (tokens, URLs, files, or text depending on the utility).
  3. Copy results locally, or chain them into related stbox tools such as JWT, OAuth, or the REST client.

Frequently asked questions

Is my data sent to a server?

ChatML / Messages Formatter runs 100% in your browser. Inputs stay on your device and are not logged or stored by stbox servers.

Is stbox free to use?

Yes. Tools are provided as-is for testing and debugging with no account required for core utilities.

Can I use this for production secrets?

Prefer dedicated KMS/HSM workflows for production key material. stbox is optimized for local debugging and education.