EncodeDesk
Get Pro

Code Tools

49 tools

Tools for writing and debugging code

Developer code tools — format JS, TS, and SQL with one click, decode JWT tokens, test regular expressions with live highlighting, parse cron expressions, build cURL commands, lint Git commit messages, parse semantic versions, and evaluate math expressions.

49 tools

Code Beautifier

Format JS, TS, JSX, TSX, CSS, SCSS, Less, HTML, Markdown, GraphQL, YAML, JSON, or XML using Prettier.

SQL Formatter

Format and beautify SQL queries. Supports SQL, MySQL, PostgreSQL, and SQLite dialects.

SQL Minifier

Minify SQL queries to a single line, stripping comments and collapsing whitespace. Reduces size for embedding in code.

SQL Escape String

Escape strings for safe use in SQL queries, shows dialect-specific escaping for MySQL, PostgreSQL, and SQLite.

Regex Tester

Test regular expressions with live match highlighting, capture groups, and named groups, all client-side.

JWT Decoder

Decode a JWT token: header, payload, claims, and expiry. No secret required.

cURL Builder

Build a cURL command from URL, method, headers, and body, with flag toggles and instant preview.

Git Commit Linter

Lint and compose Conventional Commits: type picker, scope, breaking-change flag, live validation.

Cron Expression Parser

Parse a cron expression: plain-English description, field breakdown, next N scheduled runs, @preset shortcuts.

SemVer Parser

Parse and compare semantic version strings: major/minor/patch breakdown, pre-release flags, two-version comparison.

Expression Evaluator

REPL-style math evaluator powered by mathjs: units, matrices, trig, stats, complex numbers.

CSS Minifier

Minify CSS by removing comments, collapsing whitespace, shortening hex colors, and stripping zero units.

CSS Specificity Calculator

Calculate the specificity of CSS selectors, shows (a, b, c) breakdown and numeric score. Supports multiple selectors.

CSS to JS

Convert CSS property declarations to a camelCase JavaScript object, useful for React inline styles.

CSS Unit Converter

Convert CSS values between px, rem, em, pt, vh, vw, cm, mm, in and more. Shows all units at once.

CSS Variables Extractor

Extract all CSS custom properties (--variables) from a stylesheet. Export as JSON, SCSS variables, or JS tokens.

HTML Formatter

Format or minify HTML using Prettier. Fixes indentation, attribute ordering, and self-closing tags.

cURL to Fetch Converter

Convert a cURL command to fetch(), axios, Python requests, or Node.js http. Handles headers, body, auth, and flags.

.gitignore Generator

Generate .gitignore files for 24 stacks: Node, Python, Go, Rust, React, Next.js, Django, Rails, Flutter, Docker, and more.

Git Diff Viewer

Parse and display git diff output as a structured, colored side-by-side or unified diff.

Dockerfile Generator

Generate production-ready Dockerfiles for Node, Python, Go, Rust, Java, PHP, Ruby, Deno, and Bun.

Docker Compose Generator

Generate docker-compose.yml with services for Postgres, MySQL, MongoDB, Redis, Nginx, MinIO, and more.

Docker Run Builder

Build a docker run command interactively: ports, volumes, env vars, networks, and restart policy.

.dockerignore Generator

Generate .dockerignore files for common stacks to speed up Docker builds.

grep Command Builder

Build grep, ripgrep (rg), or ag (The Silver Searcher) commands with flags explained.

find Command Builder

Build find commands with type, name, size, mtime, and exec filters.

Shell String Escaper

Escape strings for Bash, PowerShell, single-quote, double-quote, and ANSI-C quoting. Warns about injection risks.

GraphQL Formatter

Format, minify, or validate GraphQL queries and schema definitions.

JSON to Go Struct

Convert a JSON object to Go structs with json tags. Supports nested types, arrays, and omitempty.

JSON to Python Class

Convert a JSON object to TypedDict, dataclass, or Pydantic model with type annotations.

JSON to Zod Schema

Generate a Zod schema from a JSON object or array with type inference for emails, URLs, UUIDs, and dates.

nginx Config Generator

Generate nginx server blocks for static sites, SPAs, reverse proxies, and PHP apps with SSL and security headers.

package.json Generator

Generate a package.json with correct scripts and dependencies for Node, React, Next.js, a library, or a CLI.

HTML Preview

Live HTML/CSS/JS editor with a sandboxed iframe preview. Switch between split, code-only, and preview-only views.

Kubernetes Deployment Generator

Generate a production-ready Kubernetes Deployment YAML with resource limits, health probes, env vars, and rolling update strategy.

Kubernetes Service Generator

Generate a Kubernetes Service YAML (ClusterIP, NodePort, LoadBalancer) with optional Ingress and TLS configuration.

Kubernetes ConfigMap / Secret

Generate Kubernetes ConfigMap or Secret YAML from key=value pairs. Secret values are automatically base64-encoded.

.htaccess Generator

Generate Apache .htaccess rules for HTTPS redirects, www/non-www, SPA/WordPress routing, caching, GZIP, and security headers.

MySQL to PostgreSQL

Convert MySQL DDL and DML to PostgreSQL syntax. Handles type mapping, AUTO_INCREMENT, backtick identifiers, and MySQL-specific functions.

HTML Minifier

Minify HTML by removing comments, collapsing whitespace, and collapsing boolean attributes. Preserves <script>, <style>, and <pre> content.

HTML to JSX

Convert HTML to JSX: rename class to className, for to htmlFor, convert inline styles to objects, and handle void elements.

JavaScript Minifier

Minify JavaScript by removing comments and collapsing whitespace. Preserves string literals and template literals.

JSON to TypeScript

Generate TypeScript interfaces or types from a JSON sample.

PostgreSQL to MySQL

Convert PostgreSQL SQL to MySQL: type mapping, SERIAL to AUTO_INCREMENT, double quotes to backtick identifiers.

JavaScript to TypeScript

Add TypeScript annotations to JavaScript: types on params, return types, convert require() to import.

.editorconfig Generator

Generate .editorconfig files with root style rules and per-language overrides for Markdown, Python, Go, Make, YAML, and JSON.

GitHub Actions Workflow Generator

Generate a GitHub Actions CI workflow for Node, Python, Go, or Docker projects: checkout, install, test, build, and optional Docker push.

CHANGELOG Generator

Convert Conventional Commits (paste your git log) into a Keep a Changelog formatted CHANGELOG.md, grouped by Added/Fixed/Changed/Breaking.

Diff Patch Generator

Generate a downloadable unified diff (.patch) file from two text blocks, applicable with `git apply` or `patch`.