Skip to content

Data & Code Converters

Unit, encoding, and format converters for the things you convert constantly — JSON to YAML, CSV to JSON, Base64, timestamps, color formats, HTML entities, and more. Every conversion happens instantly in your browser. No uploads, no server processing, no rate limits.

34 tools

CSS to Tailwind Converter

Convert vanilla CSS to Tailwind CSS utility classes with property mapping and spacing scale conversion

HTML to JSX Converter

Convert HTML to JSX with automatic attribute renaming, style objects, self-closing tags, and comment conversion

Color Converter

Convert colors between HEX, RGB, HSL, HSV, CMYK, and Tailwind CSS with contrast checker

JSON to Go Struct

Convert JSON to idiomatic Go struct definitions with json tags, nested structs, omitempty, and pointer options

JSON to Python Dataclass

Convert JSON to Python dataclass or TypedDict definitions with type hints, nested classes, and Optional types

JSON to TypeScript Converter

Convert JSON to TypeScript interfaces or type aliases with nested types, union types for mixed arrays, and optional or readonly fields.

JSON to Zod Schema

Convert JSON to Zod schema definitions with optional/required inference, coerce mode, and nested schema support

JSON to Kotlin Data Class

Convert JSON to Kotlin data classes for kotlinx.serialization, Gson or Moshi, with nested classes and optional nullable fields.

JSON to Rust Serde

Convert JSON to Rust structs with Serde Serialize and Deserialize derives, rename_all options, Option<T> for nulls and pub fields.

YAML ↔ JSON Converter

Convert YAML to JSON and JSON to YAML as you type, with 2 or 4-space indentation, key sorting and line-numbered parse errors.

Text Case Converter

Convert identifiers and text between camelCase, PascalCase, snake_case, kebab-case, Title Case and other formats, with case detection.

TOML Editor & Converter

Validate TOML and convert it to JSON or YAML and back, for Cargo.toml, pyproject.toml and other config files.

Format Detective

API

Detect whether text is JSON, YAML, XML, CSV, TOML, INI or a Markdown table, with confidence scores, and convert it. Also available as a REST API.

CSV ↔ JSON Converter

Convert between CSV and JSON with auto-delimiter detection and proper escaping

Markdown to HTML Converter

API

Convert Markdown to HTML with GFM tables and strikethrough, a live preview and a full HTML page download. Also available as a REST API.

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to text, with UTF-8 handling and a URL-safe base64url option.

URL Encoder/Decoder

Percent-encode or decode text and URLs with encodeURIComponent or encodeURI, and see a table of every character that changed.

Unicode Character Inspector

Break text into characters and show each one's code point, UTF-8 bytes, UTF-16 units, HTML entity, JS escape and a broad category.

Unix Timestamp Converter

Convert Unix timestamps in seconds or milliseconds to ISO 8601, UTC, local and IANA timezone dates, or turn a date back into a timestamp.

OpenAPI to TypeScript Generator

Generate TypeScript types and an optional typed fetch client from an OpenAPI 3.0 or 3.1 spec in JSON or YAML, with $ref, allOf and oneOf support.

HTML Entity Encoder

Encode text to HTML entities (reserved characters, all special characters or all non-ASCII) or decode entities, with a searchable entity table.

Image to Base64 Converter

Convert PNG, JPG, GIF, WebP, and SVG images to Base64 encoding with data URI, CSS, and HTML formats

Number Base Converter

Convert between hex, binary, decimal, and octal with bit visualization and bitwise operations

Byte & Data Unit Converter

Convert between bytes and PB in decimal (KB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB) units, with bit counts and transfer times at common speeds.

OpenAI ↔ Anthropic Format Converter

Convert chat messages, tool definitions and responses between the OpenAI and Anthropic API formats in either direction, with format auto-detection.

Tailwind Previewer

Convert CSS declarations to Tailwind utility classes, each labeled exact, approximate or arbitrary value, and copy them as a class string or JSX.

CSS Units Converter

Convert between CSS units: px, rem, em, vw, vh, %, and pt. Bidirectional with configurable base font size and viewport dimensions.

cURL Converter

Convert cURL commands to JavaScript fetch, Axios, Python requests, Node.js http, PHP, and Go. Supports headers, JSON body, form data, and auth.

OpenAPI to MCP Generator

Convert an OpenAPI 3.x JSON spec into MCP tool definitions, one per endpoint, and export config JSON or a TypeScript or Python server.

Chat Format Converter

Convert chat request JSON between OpenAI Chat Completions, Anthropic Messages, Gemini and Mistral, remapping roles, system prompts, tools and images.

Drizzle ↔ Prisma Schema Converter

Convert Drizzle ORM schemas to Prisma and back, with parity reports for tables, columns, relations, and indexes.

Slug Generator

Convert a title into a URL-safe slug with accent transliteration, hyphen or underscore separators, stop-word removal and a maximum length.

XML to JSON Converter

Convert XML to JSON and JSON to XML, with a configurable attribute prefix, #text keys for element text and arrays for repeated tags.

SVG to JSX Converter

Convert an SVG into a React component with camelCased attributes, className, style objects, optional TypeScript props, prop spread and currentColor.

The same list is available as JSON at /api/tools-by-category.json.