Convert Tools
137 tools for data and format conversion
General Conversion
13 toolsTimestamp
Convert timestamps
JSON to ENV Generator
Convert JSON to Docker .env, Kubernetes ConfigMap, and shell export formats
Number Base
Binary/hex/decimal
Unit Converter
Convert units
JSON to CUE
Generate CUE constraint definitions from JSON for validation
Protobuf to TypeScript
Convert Protocol Buffer .proto definitions to TypeScript interfaces and types with proper type mapping, nested messages, and enums
JSON to FlatBuffers Schema
Convert JSON data to FlatBuffers .fbs schema definitions with tables, structs, enums, and nested types
JSON to Thrift Struct
Convert JSON data to Apache Thrift IDL struct definitions with proper type mapping, nested structs, and optional fields
JSON to Drizzle Schema
Generate Drizzle ORM table definition from JSON with type inference, serial ID, and $inferSelect types
Regex to Code
Convert regex patterns to JavaScript, Python, Go, Java, and more
Cron to Quartz
Convert standard cron expressions to Quartz cron format
JSON to Amazon Ion
Convert JSON data to Amazon Ion text format for AWS QLDB, DynamoDB, and Ion-based systems
JSON to Nim Type
Generate Nim object type definitions with JSON serialization and distinct types from JSON
Data Format Conversion
31 toolsJSON to Markdown Table
Convert JSON to Markdown tables
XML to JSON
Convert XML documents to JSON format
Dotenv to JSON
Convert .env to JSON
TOML to JSON
Convert TOML to JSON and back
YAML to ENV
Convert YAML to .env
Dotenv to YAML
Convert .env to YAML
JSON to Dotenv
Convert JSON to .env and back
JSON to INI
Convert JSON to INI and back
INI to YAML
Convert INI to YAML and back
JSON to Properties
Convert JSON to Java .properties and back
TOML to YAML
Convert TOML to YAML and back
YAML to TOML
Convert YAML to TOML configuration format
Markdown Table Generator
Visual editor to generate Markdown tables
HTML to Markdown
Convert HTML to clean Markdown
CSV to JSONL
Convert CSV to JSON Lines and back
CSV to Markdown Table
Convert CSV data to Markdown table format
JSON to Query String
Convert JSON to URL query string and back
YAML to Terraform
Convert YAML to Terraform variables.tf and terraform.tfvars
JSON to MessagePack
Encode JSON to MessagePack binary format and decode back
YAML to JSON Schema
Convert YAML configuration to JSON Schema for validation
YAML to Kubernetes
Convert YAML to Kubernetes Deployment, Service, and ConfigMap manifests
YAML to GitHub Actions
Generate GitHub Actions CI/CD workflows from YAML config
JSON to LaTeX
Convert JSON data to LaTeX tables and description lists with special character escaping
JSON to Redis Commands
Convert JSON data to Redis CLI commands with smart type detection for SET, HSET, RPUSH, ZADD
JSON to GraphQL Query
Convert JSON data to GraphQL query or mutation strings with nested field selection
JSON to Excel/CSV
Convert JSON arrays to CSV format with nested object flattening and Excel UTF-8 BOM support
YAML to Helm Chart
Convert Kubernetes YAML manifests to Helm chart templates with values extraction
Markdown to PDF
Convert Markdown to print-ready HTML with professional CSS and PDF export support
CSV to SQL
Convert CSV data to SQL INSERT statements with automatic type detection
Markdown to HTML
MD to HTML
YAML to JSON
Convert YAML
JSON to Language
32 toolsJSON to Python
Generate Python dataclass, Pydantic, or TypedDict from JSON
JSON to Java POJO
Generate Java POJO classes from JSON with Jackson annotations
JSON to Go Struct
Generate Go struct definitions from JSON with json tags and nested structs
JSON to Rust Serde
Generate Rust struct definitions with serde attributes from JSON
JSON to C Struct
Generate C struct definitions with typedef from JSON, supporting static/dynamic memory modes and json-c library integration
JSON to C++ Struct
Generate C++17 struct definitions from JSON with nlohmann/json serialization, std::optional, std::vector, and nested struct support
JSON to Elixir Struct
Generate Elixir defmodule with defstruct and @type t specifications from JSON
JSON to Ecto Schema
Generate Elixir Ecto schema definitions with changeset functions from JSON
JSON to R
Convert JSON to R list, data.frame, or tibble definitions with automatic type inference
JSON to Lua Table
Convert JSON to Lua table definitions with proper syntax, type mapping, and nested structure support
JSON to Pandas DataFrame
Generate Pandas DataFrame Python code with dtype specifications from JSON
JSON to TypeScript (Optional)
Generate TypeScript interfaces with optional fields and readonly modifiers from JSON
JSON to Crystal Struct
Generate Crystal struct definitions with property type annotations from JSON
JSON to Clojure Map
Convert JSON to Clojure defrecord definitions or map literals with keyword keys
JSON to Haskell Data Type
Generate Haskell data type definitions with automatic type inference from JSON
JSON to PureScript Type
Generate PureScript newtype and record definitions with Maybe types and nested record support from JSON
JSON to ReScript Type
Generate ReScript type definitions with option types and nested record support from JSON
JSON to F# Record
Generate F# record type definitions from JSON with automatic type inference
JSON to OCaml Type
Generate OCaml type definitions from JSON with automatic type inference
JSON to Gleam Type
Generate Gleam custom type definitions with proper type inference from JSON
JSON to PHP Class
Generate PHP classes with typed properties, constructors, and fromJson/toJson methods from JSON
JSON to Ruby Class
Generate Ruby classes with attr_accessor, Struct, ActiveModel, or Dry-Struct support from JSON
JSON to Perl Class
Generate Perl Moose or Moo class definitions with type constraints from JSON
JSON to Julia Struct
Generate Julia struct definitions from JSON with JSON3.jl and StructTypes.jl type annotations
JSON to Dart Class
Generate Dart classes with null safety, fromJson factory, toJson method, copyWith, and freezed support from JSON
JSON to Scala Play JSON
Generate Scala case classes with Play JSON Format or Circe Encoder/Decoder instances from JSON
JSON to Zig Struct
Generate Zig struct definitions from JSON with std.json and serde.zig support, optional types (?T), and nested structs
JSON to ArkTS Type
Generate ArkTS (HarmonyOS) interface or class definitions with reactive decorators from JSON
JSON to V Struct
Generate V language struct definitions with option types and json.decode support from JSON
JSON to C# Class
Generate C# classes with System.Text.Json attributes from JSON
JSON to Swift Codable
Generate Swift Codable structs with CodingKeys from JSON
JSON to Kotlin Data Class
Generate Kotlin data classes with kotlinx.serialization from JSON
JSON to Schema & Validation
11 toolsJSON to Yup Schema
Generate Yup validation schema from JSON for React forms
JSON to Zod with Custom Validation
Generate Zod schemas with custom validation rules like .min(), .max(), .email(), .url()
JSON to io-ts
Generate io-ts runtime type definitions from JSON
JSON to class-validator
Generate TypeScript classes with class-validator decorators
JSON to TypeBox
Generate TypeBox JSON Schema definitions from JSON
JSON to Valibot
Generate Valibot v1 validation schemas from JSON with type inference
JSON to Pydantic
Generate Pydantic v2 BaseModel classes from JSON with type inference
JSON to Pydantic with Validators
Generate Pydantic v2 BaseModel classes with Field constraints and @field_validator decorators
JSON to Effect Schema
Generate Effect Schema (@effect/schema) Schema.Struct definitions with type inference from JSON
JSON to Joi Schema
Generate Joi validation schemas from JSON for Node.js and Hapi
JSON to MobX State Tree
Generate MobX State Tree models with types and actions from JSON
SQL to ORM
30 toolsSQL to TypeScript
Convert SQL CREATE TABLE to TypeScript interfaces
SQL to Drizzle Schema
Convert SQL CREATE TABLE to Drizzle ORM schema definitions
SQL to TypeORM Entity
Convert SQL CREATE TABLE to TypeORM entity definitions
SQL to Kysely Types
Convert SQL CREATE TABLE to Kysely type-safe Database interface definitions
SQL to Prisma
Convert SQL CREATE TABLE to Prisma schema with models and relations
SQL to Prisma with Relations
Convert SQL CREATE TABLE to Prisma schema with automatic relation generation
SQL to Sequelize Model
Convert SQL CREATE TABLE to Sequelize model definitions
SQL to Knex Migration
Convert SQL CREATE TABLE to Knex migration files with up and down functions
SQL to Objection.js Model
Convert SQL CREATE TABLE to Objection.js ORM model classes with TypeScript types and JSON schema
SQL to Diesel Model
Convert SQL CREATE TABLE to Rust Diesel ORM model structs with derive macros and associations
SQL to Waterline Model
Convert SQL CREATE TABLE to Sails.js Waterline model definitions with type mapping, validations, and associations
SQL to Tortoise ORM Model
Convert SQL CREATE TABLE to Python Tortoise ORM async model classes with field mapping and Pydantic schemas
SQL to Exposed Table
Convert SQL CREATE TABLE to Kotlin Exposed ORM table object definitions with references and constraints
SQL to pg-promise Types
Convert SQL CREATE TABLE to TypeScript interfaces for pg-promise with Database schema and helper functions
SQL to Room Entity
Convert SQL CREATE TABLE to Android Room Entity Kotlin data classes with annotations, DAOs, and TypeConverters
SQL to Haskell Persistent
Convert SQL CREATE TABLE to Haskell Persistent entity definitions with type mapping, Maybe for nullable, and Yesod integration
SQL to SQLModel
Convert SQL CREATE TABLE to Python SQLModel classes with Pydantic validation and SQLAlchemy support
SQL to better-sqlite3 Types
Convert SQL CREATE TABLE to TypeScript interfaces for better-sqlite3 with Database schema and helper functions
SQL to MikroORM Entity
Convert SQL CREATE TABLE to MikroORM entity definitions
SQL to Mongoose Schema
Convert SQL CREATE TABLE to Mongoose schema definitions for MongoDB
SQL to GORM Model
Convert SQL CREATE TABLE to Go GORM model struct definitions
SQL to Ent Schema
Convert SQL CREATE TABLE to Go Ent schema definitions (entgo.io/ent)
SQL to MyBatis Mapper
Convert SQL CREATE TABLE to MyBatis XML mapper, Java Entity, and Mapper interface
SQL to jOOQ
Convert SQL CREATE TABLE to jOOQ Java code with Table and Field definitions
SQL to GraphQL Resolver
Convert SQL CREATE TABLE to GraphQL schema SDL and resolver stubs with CRUD operations
SQL to Prisma Seed
Convert SQL INSERT statements to Prisma Client seed scripts in TypeScript
SQL to SQLAlchemy Model
Convert SQL CREATE TABLE to SQLAlchemy ORM model definitions with Column types and relationships
SQL to EF Core Entity
Convert SQL CREATE TABLE to Entity Framework Core C# entity classes with data annotations
SQL to Hasura Metadata
Convert SQL CREATE TABLE to Hasura GraphQL Engine metadata with relationships and permissions
SQL to sqlc Queries
Convert SQL CREATE TABLE to sqlc query annotations and Go type definitions
API & Schema
20 toolsJSON to HCL
Convert JSON to Terraform HCL and back
JSON to Avro Schema
Generate Avro schema from JSON for Kafka and Hadoop
JSON to Protobuf
Generate proto3 schema from JSON for gRPC and microservices
JSON to BigQuery Schema
Generate BigQuery table schema from JSON for Google Cloud
JSON to Prisma
Generate Prisma schema from JSON for Prisma ORM
JSON to GraphQL
Generate GraphQL schema definitions from JSON
TypeScript to JSON Schema
Convert TypeScript interfaces and types to JSON Schema for validation
OpenAPI to Axios Client
Generate TypeScript Axios client with typed interfaces from OpenAPI specs
OpenAPI to TypeScript SDK
Generate TypeScript SDK with fetch API and typed interfaces from OpenAPI specs
Swagger to Postman
Convert OpenAPI/Swagger specs to Postman Collection v2.1 format
GraphQL to Apollo Resolver
Generate Apollo Server resolvers from GraphQL schema SDL
GraphQL to TypeScript Resolver
Generate TypeScript resolver types and stubs from GraphQL schema SDL
JSON to Tailwind Config
Generate Tailwind CSS configuration from JSON design tokens with JS/TS output support
JSON to Angular Service
Generate Angular TypeScript interfaces and Injectable service with HttpClient CRUD methods
OpenAPI to Markdown
Convert OpenAPI/Swagger specifications to clean Markdown API documentation
OpenAPI to Python Client
Generate Python HTTP client classes from OpenAPI/Swagger specs using requests library
GraphQL to Apollo Hooks
Generate React Apollo hooks (useQuery, useMutation, useLazyQuery) from GraphQL schema SDL
GraphQL to Prisma Schema
Convert GraphQL schema SDL to Prisma schema with models, relations, and datasource config
GraphQL Fragment Generator
Generate GraphQL fragments with scalar fields and nested fragment spreads from GraphQL schema SDL
JSON to Django Model
Generate Django model classes with field types and Meta options from JSON
Universal Conversion Utilities
Developers constantly need to convert between formats: Unix timestamps to human-readable dates, binary to hexadecimal for low-level debugging, YAML configs to JSON for API compatibility, Markdown to HTML for documentation. Our conversion tools handle these transformations instantly with accurate, reliable results.
Each converter is designed for real-world use. The timestamp converter handles multiple formats including milliseconds. The unit converter covers practical categories. Data format converters preserve structure and handle edge cases like nested objects in YAML.
Why ByteJSON Converters?
- Multi-Format Timestamp SupportHandle Unix seconds, milliseconds, ISO 8601, and natural language dates. Convert any timestamp format you encounter in logs, APIs, or databases.
- Accurate Number ConversionsConvert between binary, octal, decimal, hexadecimal with precision. Essential for debugging bitwise operations, color values, and memory addresses.
- Structure-Preserving Data ConversionYAML to JSON and Markdown to HTML converters maintain structure integrity. Nested objects, arrays, and complex documents convert accurately.
Common Use Cases
API Debugging
Convert Unix timestamps from API responses. Debug binary/hex data from low-level protocols. Transform YAML configs to JSON.
Log Analysis
Convert timestamp fields in logs to readable format. Understand timing between events. Parse binary log data.
Documentation
Convert Markdown documentation to HTML for publishing. Transform technical specs between formats.
Configuration Migration
Convert YAML configuration files to JSON for modern tools. Migrate between configuration formats easily.