Format Converters

Converters translate the same data between the formats different tools expect: a CSV export into JSON for an API, a docker run command into a docker-compose.yml, a cURL command into fetch or Python requests, a Unix timestamp into a readable date, or a CIDR block into the IP range it covers.

Each converter works in both directions where that makes sense, handles the edge cases that break naive conversions (quoted CSV fields, XML attributes, YAML anchors), and runs entirely client-side.

18 convert tools

Color Converter

Convert between HEX, RGB, and HSL color formats

Timestamp Converter

Convert Unix timestamps to human-readable dates

Number Base Converter

Convert numbers between binary, octal, decimal, and hex

String Case Converter

Convert text between camelCase, snake_case, kebab-case and more

JSON ↔ YAML Converter

Convert between JSON and YAML formats instantly

IP / CIDR Calculator

Calculate subnet masks, IP ranges, and host counts from CIDR notation

Docker Run to Compose

Convert docker run commands to docker-compose.yml and back

Dockerfile Generator

Pick a stack and get a sensible, multi-stage-aware Dockerfile — plus a matching .dockerignore

CSV to JSON Converter

Convert CSV to JSON instantly, or JSON back to CSV

XML ↔ JSON Converter

Convert between XML and JSON formats instantly, in either direction

Env File Tool

Parse, convert, and generate .env.example files from your .env

cURL to Code

Paste a curl command, get working code in JavaScript, Python, PHP, or Go

URL Parser & Query String Builder

Break down a URL into its parts and build query strings visually

.htaccess to Nginx Converter

Convert Apache .htaccess rules to nginx server block syntax

Meeting Planner

Compare working hours across time zones and find a meeting time that works for everyone

JSON to Markdown Table

Convert a JSON array of objects into a ready-to-paste Markdown table

SVG to JSX / React Component

Paste raw SVG markup and get a ready-to-use React component

Database Connection String Parser & Builder

Parse a Postgres, MySQL, MongoDB, or Redis connection URI into its parts — or build one visually

Guides

🔑 Why Hardcoded Secrets Still End Up in Git — and How to Actually Catch Them

Hardcoded API keys and credentials remain one of the most common security findings in real codebases. Here's what the common secret formats actually look like, why regex-based scanning works (and where it doesn't), and how to stop a leak before it's committed.

🐳 Docker 'Port Is Already Allocated' (and Other Common Docker Errors), Explained

Port conflicts, a daemon that won't connect, and container exit codes are the errors that eat the most Docker debugging time. Here's what causes each and the fastest way to fix them.

🧭 DNS Error Codes Explained: NXDOMAIN, SERVFAIL, and REFUSED

"It's probably still propagating" is wrong more often than it's right. NXDOMAIN, SERVFAIL, and REFUSED each mean something specific and diagnosable — here's how to tell them apart with dig and fix the actual cause.

📊 CSV vs JSON: When to Use Which (and How to Convert Between Them)

CSV and JSON solve different problems — one is tabular, one is hierarchical. Here's how to decide which format fits your use case, plus the common pitfalls when converting between them.

🔄 How to Convert cURL Commands to Python, JavaScript, PHP and More

Learn how to convert cURL commands to Python requests, JavaScript fetch, axios, PHP and Go. Real examples, curl flags explained, and a free online converter.

🔑 ClaimJwtException: JWT Claim Validation Failed — Timestamp and Expiry Fix Guide

JWT claim validation errors are almost always caused by milliseconds vs seconds confusion or clock skew between services. Learn to diagnose expired tokens, iat-in-the-future errors, and fix each case.

Other categories

🥷 ToolNinja