Data Converters
Convert between popular data formats: JSON, YAML, CSV, Markdown, and Unix timestamps. All conversions are instant, free, and run entirely in your browser.
JSON-YAML Converter
Convert between JSON and YAML formats instantly.
Epoch / Unix Timestamp Converter
Convert Unix timestamps to dates and vice versa.
Markdown to HTML Preview
Convert Markdown to HTML in real time with a live preview.
Curl to Fetch/Axios Converter
Convert curl commands to JavaScript fetch, Axios, or Node.js code instantly.
Tailwind CSS Converter
Convert Tailwind CSS utility classes to plain CSS and vice versa. Supports spacing, colors, typography, flexbox, grid, and more.
OpenAPI to TypeScript
Generate TypeScript interfaces and types from OpenAPI 3.x or Swagger 2.0 JSON specs. Supports $ref, enums, and allOf/oneOf.
Text Case Converter
Convert text between camelCase, snake_case, PascalCase, kebab-case, SCREAMING_SNAKE_CASE, Title Case, and more.
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal with arbitrary precision.
CSV Viewer & Editor
View, sort, search, and filter CSV data in an interactive table. Supports CSV, TSV, and custom delimiters.
Date & Time Format Converter
Convert dates between ISO 8601, RFC 2822, Unix timestamps, and human-readable formats with timezone support.
SQL to MongoDB & N1QL Converter
Convert SQL queries to MongoDB find/aggregate syntax and Couchbase N1QL. Supports SELECT, INSERT, UPDATE, DELETE with WHERE, GROUP BY, and JOINs.
Semver Calculator & Comparator
Parse, compare, bump, and sort semantic versions. Supports pre-release labels, build metadata, and bulk sorting.
Byte / Size Calculator
Calculate string byte length in UTF-8/UTF-16/ASCII. Convert between bytes, KB, MB, GB, TB with SI and IEC units.
URL Parser & Builder
Parse URLs into components (protocol, hostname, path, query parameters, hash) or build URLs from parts.
Glob to Regex Converter
Convert glob patterns to regular expressions and vice versa. Test against strings with explanations.
Math Expression Evaluator
Evaluate math expressions safely. Supports hex, binary, octal, functions (sqrt, log, sin), and multiple output formats.
SQL DDL to TypeScript Converter
Convert SQL CREATE TABLE statements to TypeScript interfaces. Maps SQL types to TS types, handles nullable columns and arrays.
Duration / Time Calculator
Convert between milliseconds, human-readable durations, ISO 8601, and HH:MM:SS. Calculate time breakdowns for timeouts and TTLs.
CSS Unit Converter — px, rem, em, pt, vw, vh
Convert between CSS units instantly. px to rem, em to px, pt to px, and more with configurable base font size.
JSON to Go Struct Converter
Convert JSON data to Go struct definitions instantly. Generates typed structs with json tags and proper Go naming.
HTML to Markdown Converter
Convert HTML to clean Markdown instantly. Handles headings, links, images, tables, lists, and code blocks.
CSV to SQL Converter
Convert CSV data to SQL CREATE TABLE and INSERT statements. Auto-detects column types with configurable options.
SQL to ORM Converter
Convert SQL CREATE TABLE statements to ORM model code for Prisma, Sequelize, TypeORM, SQLAlchemy, and Django.
Available Converters
- JSON-YAML Converter — bidirectional conversion for Kubernetes configs, CI/CD pipelines, and configuration files
- Epoch Converter — convert Unix timestamps (seconds and milliseconds) to readable dates and vice versa
- Markdown to HTML — preview Markdown rendering and copy the generated HTML source
- Curl Converter — convert curl commands to JavaScript fetch, Axios, or Node.js code
- Tailwind CSS Converter — bidirectional conversion between Tailwind utility classes and plain CSS
- OpenAPI to TypeScript — generate TypeScript interfaces from OpenAPI 3.x and Swagger 2.0 specs
Also check out the JSON to CSV Converter and JSON to TypeScript Generator in our JSON Tools section for more conversion options.
Which Converter Do I Need?
Start with your source format and what you're trying to achieve:
- "I have JSON and need it in YAML (or vice versa)" → JSON-YAML Converter — common for switching between app configs (JSON) and Kubernetes/Docker Compose (YAML)
- "I have a Unix timestamp from a database/API" → Epoch Converter — handles both seconds and millisecond timestamps. Also converts human dates back to epoch
- "I have a curl command and need JavaScript code" → Curl Converter — translates curl flags into fetch, Axios, or node-fetch. Handles headers, auth, POST bodies, and cookies
- "I have Markdown and need rendered HTML" → Markdown Preview — live preview with source HTML export. Useful for README editing and blog drafts
- "I have Tailwind classes and need plain CSS" → Tailwind CSS Converter — extracts the actual CSS properties from utility classes for non-Tailwind projects
- "I have an OpenAPI spec and need TypeScript types" → OpenAPI to TypeScript — generates interfaces from paths, schemas, and request/response bodies
Other Developer Tools
Frequently Asked Questions
- Do these converters modify my original data?
- No. All conversions produce new output in the target format. Your original input data is never modified. All processing happens in your browser.
- Can I convert large files?
- Yes. Since processing happens locally in your browser, there are no upload limits. Performance depends on your device, but most files up to 10 MB convert instantly.
- What formats can I convert between?
- CodeTidy supports JSON to YAML, JSON to CSV, Markdown to HTML, Unix timestamps to human-readable dates, Tailwind CSS to plain CSS, OpenAPI/Swagger to TypeScript, and curl to JavaScript code. More converters are added regularly.