Skip to content

Converters and generators

One format in, another out — schemas, tool definitions, requests, prompts and templates — each with a printed list of everything that had no equivalent, instead of a silent drop.

JSON Schema Generator From an Example

Paste an example of your JSON and get a JSON Schema for it, in plain, OpenAI or Anthropic form, with every guess it had to make listed underneath.

Tool Definition Generator

A function signature in, a tool definition out in OpenAI, Anthropic and Gemini form at once, with the token cost of the definition shown.

OpenAI ⇄ Anthropic Request Converter

Convert a chat request between the OpenAI and Anthropic shapes in either direction, including tool calls and tool results, with a list of every field that had no equivalent.

cURL to Code Converter

Paste a curl command and get the same request in Python, JavaScript, Go, PHP and Ruby, with credentials moved into environment variables.

API Request Builder

Fill in the fields of a chat request and get the JSON body and a curl command, plus the parameter combinations that will get it rejected.

System Prompt Generator

Role, task, rules and a fallback in; a structured system prompt out in markdown, XML tags or plain paragraphs, with its recurring token cost shown.

Prompt Template Builder

Write a prompt with variables in it, fill them in, and take away JavaScript and Python that renders it and refuses to render it half-filled.

Few-Shot Example Formatter

Two columns of examples in, correctly formatted few-shot prompts out as chat messages, XML, labelled text or markdown — with the per-request token cost of carrying them.

Chat Template Renderer

Render a message list into the single string a model is actually given, with every space and newline made visible — and parse a rendered string back into messages.

Markdown to Plain Text

Strip markdown formatting while keeping the text, with an exact character saving, an estimated token saving and a count of every construct that changed.

HTML to Clean Text Extractor

Strip a scraped page down to the text a model needs, with an exact character saving, an estimated token saving and a count of everything that was removed.

PDF to Text for LLM Input

Read a PDF's text in your own browser — line and paragraph breaks reconstructed from its positioning operators — with a token estimate and a count of every glyph it could not map.

CSV to Prompt Formatter

Turn a table into eight prompt encodings at once and see what each one costs, with malformed rows reported by line and column instead of dropped.

JSONL Builder for Fine-Tuning

Build a fine-tuning file from question-and-answer blocks, or validate one you already have, with every problem reported against its line number.

Synthetic Test Data Generator

A field spec in, reproducible rows out as JSON, JSONL, CSV, SQL or TypeScript — seeded, so a link to this page regenerates the identical dataset.

Eval Set Builder

Turn a text box of cases into an eval file, a grader and a runner script you fill your own endpoint into, with the cost of one full run worked out first.

LLM-as-Judge Prompt Generator

A weighted rubric in; a judge prompt out in both orderings, with the rule for combining them and the cost of judging a whole set.

Retry Policy Generator

Base delay, multiplier and failure rate in; the delay of every attempt, the chance of eventual success, the worst-case latency and working code out.

Rate Limiter Config Generator

Your throughput and your provider's two limits in; token-bucket parameters, the limit that actually binds, and the queue wait at your utilisation out.

Env and Config Generator for AI Apps

Pick the features your app has and take away an .env.example, a validating config loader, and an audit of the .env you already have.

Regex Builder for Output Validation

Build a regular expression that checks a model answered in the shape you asked for, test it on real responses, and take away the JavaScript and Python that runs it.

Zod / Pydantic Schema Converter

Paste a schema in Zod, Pydantic, JSON Schema or a TypeScript interface and get the other three, each with a list of the constraints that did not survive.

OpenAPI to Tool Definitions

Turn an OpenAPI 3 document into OpenAI and Anthropic tool definitions, with every $ref inlined and a map of which argument goes in the path, the query or the body.

MCP Server Scaffolder

A list of tools in, a complete MCP server skeleton out in TypeScript or Python, with the client entry that registers it and the transport wiring already written.

Guardrail Rule Builder

Write block, flag, redact and require rules in a one-line-each syntax, run them against your own sample text, and export the JavaScript and Python that enforces them.

Content Policy Generator

Answer nine questions about what your AI feature allows and get an acceptable-use policy in Markdown, plain text or HTML, with every unanswered question left as a visible hole.

Model Card Generator

Fill in what you know about a model and get a publishable card, with an evaluation table built from your own measurements and optional front matter for a model host.

Dataset Datasheet Generator

The seven datasheet sections as seven boxes, producing a document and a JSON file you can check in beside the data.

AI Disclosure Notice Generator

Compose the wording that tells users they are dealing with an automated system, at three lengths — an inline label, a short notice and a full paragraph — from facts about your own system.

Prompt Library Exporter

Move a prompt collection between JSON, JSONL, Markdown, CSV and front-matter files, with the output parsed back and compared field by field.

Conversation Format Converter

Move a transcript between OpenAI messages, Anthropic messages, ShareGPT, JSONL, a plain transcript and Alpaca, in any direction.

Embedding Format Converter

Convert embeddings between JSON, CSV, the raw base64 float buffer and a real .npy file, in either direction, with the precision loss measured.

Vector Quantisation Preview

Quantise your own embeddings to float16, int8, int4 or one bit and measure what it does to recall@k before you commit the index to it.

SQL Schema to Prompt Context

Turn CREATE TABLE statements into a compact schema description a model can write SQL against, and see what it costs on every request.

Code Repo Map Generator

Turn a file listing into a repository map that fits a token budget, folding directories rather than truncating the list.

Diff Summariser Input Builder

Trim a unified diff to what a reviewing model needs — fewer context lines, no lockfiles, no whitespace-only hunks — and get a diff that still applies.

Test Fixture Generator From Examples

Turn real records into committable test fixtures in Python, TypeScript, JSON or JSONL, with every identifier replaced by a stable fake.

Webhook Payload Builder

Build a webhook payload, sign it with a real HMAC-SHA256 in four common schemes, and verify a signature your endpoint already rejected.

Batch Request File Builder

Turn a request template and a CSV of rows into a validated JSONL batch file, with unique ids, correct escaping and your provider's limits checked.

Cost Report Generator

Turn a usage export and your own rates into a shareable markdown or CSV cost report, broken down by whatever the rows are named after.

Converters and generators · Multigrid