StackPractices

Practical software engineering knowledge, ready to reuse

Find real-world code recipes, design patterns, and reusable documentation across Python, Java, JavaScript, SQL, and more.

965
Total
403
Recipes
198
Patterns
161
Docs
184
Guides
20
Topics
19
Tools

Try: python, api, docker, testing

Why StackPractices?

Built for developers who value speed, clarity, and reusable knowledge.

Copy-paste ready

Code you can drop into your project and run immediately.

Multi-language

Examples in Python, Java, JavaScript, TypeScript, SQL, Bash, and more.

Community driven

Open knowledge base shaped by real-world engineering challenges.

Structured docs

Consistent templates and guides for maintainable documentation.

Free developer tools

Interactive utilities that run entirely in your browser — no signup, nothing leaves your machine.

View all 19 tools

LLM Token Counter & Cost Calculator

Count tokens exactly, estimate Claude and Gemini honestly, measure whitespace waste, compare prompt versions and project monthly API costs locally.

LLM Structured Output Generator

Turn example JSON into an OpenAI strict JSON Schema, Zod schema, Pydantic model and TypeScript interface with transparent compatibility warnings.

YAML ↔ JSON Converter & Validator

Convert YAML to JSON and JSON to YAML with multi-document support, exact error locations, anchor expansion and YAML 1.1 boolean warnings.

JSON Formatter, Validator & Diff

Format and validate JSON with exact error locations, syntax highlighting and a semantic diff that understands structure — not just lines.

JWT Decoder & Debugger

Decode JWTs locally with readable claims, expiration countdowns, security warnings and optional HMAC verification — nothing leaves your browser.

Diff Checker

Compare text and code online with line, word and character diffs, side-by-side view, patch export and secret-safe sharing — nothing is uploaded.

Hash Generator & File Integrity Checker

Generate SHA-256, SHA-512 and MD5 hashes, verify downloads without uploading files, compare checksums and sign HMAC webhooks locally.

Cron Expression Generator

Build or paste a crontab schedule — get a plain-language explanation and the next five execution times in your timezone.

cURL Command Studio

Parse curl commands, edit requests visually, convert them to fetch or Python requests, explain flags and redact secrets before sharing.

View all tools →

Explore by Topic & Technology

Browse all resources organized by software engineering concepts like API Design, Authentication, and Testing — or by your favorite programming language.

Browse topics