Codepackr

Data & File Format Converters

Convert between JSON, XML, CSV, YAML, Markdown, cURL commands, and number bases locally with CodePackr converters.

Converters move data from one representation to another without requiring a separate application. Turn JSON into XML or CSV, YAML into JSON, CSV into XML, and Markdown into HTML or the reverse.

A cURL-to-code converter translates a curl command into equivalent requests in several programming languages. Number-base conversion handles binary, octal, decimal, and hexadecimal values. Case converters switch between camelCase, snake_case, and other common naming styles.

A JSON definition generator can produce TypeScript interfaces or similar type definitions from a sample JSON object.

All conversions occur in the browser, so large or confidential files stay on your machine. Use the tools when you receive data in one format and need it in another for a script, a documentation page, or a quick import.

Round-trip conversions are not always lossless; the tools document or preserve as much structure as the target format allows. Case conversion is handy when moving between languages that prefer different naming conventions. The cURL converter saves time when you have a working command-line request and need the equivalent in application code.

You can chain tools when needed: convert YAML to JSON, then JSON to CSV, all without leaving the browser or saving intermediate files.

Tools in this collection