Developer Code & Schema Converter Matrix
Instant client-side transformation matrix for developers. Convert JSON to Zod, Prisma, Drizzle, Rust, Go, and Python Pydantic; transform cURL commands into modern Fetch, Python Requests, or Axios; and translate Unix timestamps across all standard ISO/RFC formats.
Code & Schema Converters
Select a converter below for instant, zero-latency code generation in your browser.
JSON & Schemas
Convert JSON into typed models, validators, and ORM schemas.
Convert raw JSON into strict, production-ready Zod schemas. Supports ISO datetime offsets, email, URLs, nullish options, and inferred TypeScript types in browser.
Convert JSON payloads into clean TypeScript interfaces or type aliases in browser. Extracts nested interfaces, merges optional array keys, and handles readonly modifiers.
Convert .env files into Zod v4, Zod v3, or @t3-oss/env-nextjs schemas in your browser. Infers types without exposing secret values and generates .env.example.
Generate production Prisma models from JSON objects. Automatically detects IDs, UUIDs, relations, DateTime fields, and JSON types.
Convert JSON payloads into typed Drizzle ORM table definitions with pgTable, UUIDs, integer, and jsonb column mapping.
Convert JSON to idiomatic Rust structs with serde::Serialize and serde::Deserialize derives, snake_case renaming, and Vec types.
Convert JSON to Golang structs with struct tags (`json:"..."`), PascalCase fields, int64, float64, and slice inference.
Convert JSON to Python Pydantic v2 BaseModel classes. Infers int, float, str, bool, list[Any], and dict[str, Any].
Convert JSON payloads into GraphQL Object Types and Input Types with ID, Int, Float, String, and Boolean inference.
Convert JSON objects into detailed JSDoc @typedef blocks. Get full IDE autocomplete and type safety in plain JavaScript.
Convert JSON to clean TypeScript interfaces with nested object resolution, primitive mapping, and optional properties.
DevOps & Network
Transform cURL, Docker commands, and environment variables.
Convert Chrome Copy as cURL commands into Browser Fetch, Node.js Fetch, or Axios code. Handles -H, -d, --data-raw, -u UTF-8 Basic Auth, -F FormData, -b, -L, and -k.
Scrub session cookies, Authorization headers, JWTs, Stripe/AWS API keys, and embedded JSON body secrets from HAR files and logs 100% locally in your browser.
Convert cURL commands into clean Python requests code. Automatically configures query params, headers, and json data payloads.
Convert cURL commands to Axios HTTP request options with method, headers, and request body configuration.
Convert docker run commands into clean docker-compose.yml files. Extracts image, container_name, ports, volumes, and environment variables.
Convert raw .env files into Docker Compose environment blocks and Kubernetes ConfigMap YAML definitions.
SQL & Database
Convert SQL CREATE TABLE into Prisma models, TypeScript, or JSON.
Convert PostgreSQL and MySQL CREATE TABLE DDL statements into Prisma ORM models. Infers 1:1, 1:n, and n:m relations, enums, @default, @unique, and @@index.
Convert PostgreSQL, MySQL, and SQLite CREATE TABLE DDL into Drizzle ORM TypeScript schemas (pgTable, mysqlTable, sqliteTable, relations, and $inferSelect).
Generate SQL CREATE TABLE and INSERT INTO statements from any JSON object or array of objects. Handles escaped quotes and types.
Convert SQL CREATE TABLE statements into TypeScript interfaces. Automatically maps SQL types to number, string, boolean, Date, and nullable fields.
Data Formats
Seamless conversions between CSV, JSON, and YAML.
Convert YAML configurations, Kubernetes manifests, and Docker Compose files to JSON in browser. Resolves anchors/aliases, multi-document streams, and YAML 1.2 vs 1.1 scalars.
Convert CSV spreadsheets into clean JSON arrays of objects. Automatically parses numbers, booleans, and quoted cells client-side.
Convert JSON arrays of objects into RFC 4180 compliant CSV files with headers, escaping, and instant download.
Convert JSON data into clean, human-readable YAML configurations with 2-space indentation.
Time & Timestamp Conversions
Convert between Unix timestamps, ISO 8601, RFC 3339, RFC 2822, and UTC date formats.
- Unix Seconds to ISO 8601Convert 1700000000 → 2023-11-14T22:13:20Z
- Unix Seconds to UTC DateConvert 1700000000 → Tue, 14 Nov 2023 22:13:20 GMT
- Unix Seconds to RFC 3339Convert 1700000000 → 2023-11-14T22:13:20.000Z
- Unix Seconds to Local DateConvert 1700000000 → 2023-11-14 22:13
- Unix Milliseconds to ISO 8601Convert 1700000000123 → 2023-11-14T22:13:20Z
- Unix Milliseconds to UTC DateConvert 1700000000123 → Tue, 14 Nov 2023 22:13:20 GMT
- ISO 8601 to Unix SecondsConvert 2023-11-14T22:13:20Z → 1700000000
- ISO 8601 to RFC 3339Convert 2023-11-14T22:13:20Z → 2023-11-14T22:13:20.000Z
- ISO 8601 to UTC DateConvert 2023-11-14T22:13:20Z → Tue, 14 Nov 2023 22:13:20 GMT
- RFC 3339 to ISO 8601Convert 2023-11-14T22:13:20.000Z → 2023-11-14T22:13:20Z
- RFC 3339 to Unix SecondsConvert 2023-11-14T22:13:20.000Z → 1700000000
- UTC Date to Unix SecondsConvert Tue, 14 Nov 2023 22:13:20 GMT → 1700000000
Supported Timestamp Formats
| Format | Example | Precision |
|---|---|---|
| Unix Seconds | 1700000000 | Seconds |
| Unix Milliseconds | 1700000000123 | Milliseconds |
| ISO 8601 | 2023-11-14T22:13:20Z | Seconds |
| RFC 3339 | 2023-11-14T22:13:20.000Z | Seconds |
| UTC Date | Tue, 14 Nov 2023 22:13:20 GMT | Seconds |
| Local Date | 2023-11-14 22:13 | Minutes |
Time Conversion Tools
- Unix Timestamp ConverterTurn a Unix timestamp into UTC, local time and ISO 8601.
- Epoch ConverterSee epoch seconds and milliseconds side by side, with UTC and local time.
- Timestamp to DateReadable date, weekday, day of year and ISO week from a timestamp.
- Date to TimestampConvert a date, time and time zone into a Unix timestamp.
- Current Unix TimestampLive Unix time in seconds and milliseconds. Copy, pause or refresh.
- Milliseconds to DateConvert Unix milliseconds, such as Date.now() values, to a date.
- ISO 8601 to UnixTurn an ISO 8601 date-time string into a Unix timestamp.
- Unix to ISO 8601Get an ISO 8601 string in UTC or with your local offset.
- UTC ConverterConvert between local time and UTC in any time zone.
- Epoch Milliseconds ConverterEpoch milliseconds to a readable date, in UTC, local time and ISO 8601.
- Date Format ConverterOne date in, every common format out: ISO 8601, RFC 2822, RFC 3339, Unix and more.
- ISO 8601 ConverterISO 8601 to Unix time and back, in one combined tool.
- RFC 3339 ConverterRFC 3339 to Unix time and back, the strict internet date-time format.
Related Guides
- What Is Unix Time?A plain-language explanation of Unix time, the epoch and why programs count time this way.4 min read
- Seconds vs Milliseconds TimestampsHow to recognise the unit of a timestamp, which platforms use which, and how to convert safely.4 min read
- ISO 8601 Date and Time FormatHow ISO 8601 strings are built, what Z and offsets mean, and the parsing traps that cause off-by-hours bugs.5 min read
- UTC vs GMT: What Is the Difference?Why UTC and GMT usually show the same time, how they differ technically, and which one to use in software.3 min read
Why Use Castov?
Free
Every tool is free to use, with no usage limits and no paid tier.
Fast
Small pages and almost no JavaScript, so results appear the moment you press Convert.
Private
The converters run in your browser, so what you type stays on your device. The few tools that use our servers, such as Env Vault, say so on their page.
Frequently Asked Questions
Is Castov really free?
Is my data sent to a server?
What is a Unix timestamp?
Should I use seconds or milliseconds?
Which time zones are supported?
Ready to convert your code or timestamps?
Pick any code or timestamp converter above to start instant, client-side transformation.