Developer Reference
This hub is the reference shelf: the formats and syntax you look up several times a week and never quite memorise. JSON and YAML, Base64 and URL encoding, regular expressions, HTTP status codes and curl, HTML meta tags and SQL. Most guides pair with one of the tools on this site, which I built and run.
Almost all of the tools here run entirely in your browser, so the JSON or config you paste stays on your machine. The older guides are being reworked one at a time, and the reworked ones are listed first.
JSON
Formatting, validating, diffing and converting JSON, and the errors that stop a parser on line one.
JSON Formatting Best Practices: A Developer's Guide
Write cleaner, more consistent JSON. Covers indentation standards, naming conventions, null handling, date formats, nesting depth, JSON Schema validation, and the most common mistakes to avoid.
How to Format Large JSON Files Without Crashing (2026 Tools)
How to format large JSON files: browser based tools, command-line techniques with jq and Python, memory tips, and why most online formatters fail on files over 5MB.
Fix Invalid JSON Error: Step-by-Step Troubleshooting Guide
Fix invalid JSON errors step-by-step. Learn to identify and fix trailing commas, single quotes, missing quotes, unescaped characters, and every other JSON parse error - with real before/after examples.
Fix JSON Trailing Comma Error: Quick Solutions
Fix the JSON trailing comma error fast. Understand why JSON forbids trailing commas, see real examples, learn manual and automated fix methods, and avoid it in future.
Fix JSON.parse Error: Unexpected Token (All Solutions)
Fix JSON.parse SyntaxError: Unexpected token errors in JavaScript, Node.js, and APIs. Covers every cause with code examples and step-by-step solutions for all browsers.
JSON Validator with Error Messages: Find & Fix Errors Fast
JSON Validator with error messages and line numbers: learn how to find and fix every common JSON syntax error fast, with real examples and a free online tool.
JSON Schema Tutorial: Validate Your Data Like a Pro
JSON Schema tutorial for developers: learn types, required fields, nested objects, arrays, enums, $ref, and validation patterns with real examples. Validate your JSON like a pro.
JSONPath Query Guide: Filter & Extract Data from JSON
Complete JSONPath guide: syntax reference, filter expressions, recursive descent, wildcard, array slicing, and real examples using jq, JavaScript, and Python.
JSON.stringify vs JSON.parse: Complete Guide with Examples
JSON.stringify vs JSON.parse: learn when to use each, how replacer and reviver functions work, deep clone tricks, and how to avoid the most common JavaScript JSON pitfalls.
JSON Comments: Why They Don't Exist & Workarounds
JSON does not support comments by design. Learn why, and explore every practical workaround: JSONC, JSON5, YAML, the _comment key convention, and stripping comments with code.
Convert JSON to CSV: Online Tool + Code Examples
Convert JSON to CSV online and with code. Covers flat arrays, nested objects, special characters, and complete JavaScript and Python examples for production use.
JSON vs XML in 2026: Performance, Readability and Use Cases
JSON vs XML full comparison: syntax, parsing speed, schema support, namespaces, streaming, and which format to use for REST APIs, SOAP, config files, and data exchange.
YAML and config files
YAML's indentation and type surprises, and converting between YAML, JSON and the other config formats you meet in pipelines and Kubernetes.
YAML vs JSON: Which Should You Use? Complete Comparison
Syntax differences, parsing benchmarks (7-10x faster), the Norway Problem, security risks, and when to use each format.
TOML vs YAML vs JSON: Pick the Right Config Format (2026)
TOML vs YAML vs JSON: a detailed comparison of configuration file formats covering syntax, readability, tooling support, edge cases, and which to use for Kubernetes, Rust, Python, and CI/CD pipelines.
YAML Anchors and Aliases: Stop Repeating Yourself (DRY Config)
Master YAML anchors and aliases to DRY up your configuration files. Real examples for Docker Compose, Kubernetes, and CI/CD pipelines with the merge key operator.
YAML Multiline Strings: Pipe vs Fold vs Block (with Examples)
Complete guide to YAML multiline strings: literal block (|), folded block (>), chomping indicators, indentation levels, and when to use each style in real configs.
Encodings, hashes and IDs
Base64 and Base64URL, URL encoding, hex, UUIDs and timestamps. What each one is for, and which ones are encoding rather than encryption.
Base64 Encoding Explained: How It Works and Common Mistakes
The algorithm step by step, URL safe variants, 33% overhead, when to use vs alternatives, and code examples.
URL-Safe Base64 Encoding: Why and How
URL safe Base64 encoding explained: why standard Base64 breaks in URLs, how Base64url works, where it is used (JWTs, OAuth tokens), and implementation in JavaScript, Python, and Go.
Base64 vs Hex Encoding: When to Use Each (with Examples)
Base64 vs hex encoding: a detailed comparison of size efficiency, readability, use cases, and performance. Learn when to use hex vs Base64 with real code examples in JavaScript and Python.
Base64 Encode in JavaScript: btoa, Buffer and Uint8Array (2026)
Complete guide to Base64 encoding in JavaScript: btoa/atob for browsers, Node.js Buffer, TextEncoder for Unicode strings, binary data, and common pitfalls explained with real examples.
Base64 Encode/Decode Images Online: Complete Guide
Complete guide to Base64 image encoding and decoding. Learn what Base64 is, how data URIs work, when to use them, how to encode images in JS/Python/CLI, decode back to files, and the real performance tradeoffs.
Data URIs: Complete Guide to Inline Data in URLs
Complete guide to data URIs: syntax, base64 encoding, when to use inline images, performance trade-offs, browser limits, and converting images to data URLs.
UUID v4 vs v7: Which Should You Use in 2026?
UUID v4 vs v7 in-depth comparison: randomness, sortability, database index performance, and which UUID version to choose for your use case in 2026.
UUID Collision Probability: Can Two UUIDs Ever Be the Same?
UUID collision probability explained: the birthday problem math behind UUID v4, how many UUIDs you'd need to generate to get a 50% chance of collision, real-world risk assessment, and when to worry about UUID uniqueness.
What is UUID and How to Generate One (With Use Cases)
What is a UUID, how it works, and how to generate one in JavaScript, Python, Go, and the CLI. Covers UUID v1, v4, v5, v7, collision probability, database storage, and UUID vs auto-increment.
Convert Unix Timestamp to Date: Complete Guide with Examples
Convert Unix timestamps to human-readable dates and back. Complete guide with examples in JavaScript, Python, PHP, Bash, and SQL. Covers milliseconds vs seconds, timezones, Y2K38, and more.
Regular expressions
Patterns that come up again and again, how to test them before they reach production, and how a careless pattern can slow a server to a crawl.
Regular Expressions (Regex) Guide for Beginners - With Examples
Learn regex from scratch: basic patterns, character classes, quantifiers, anchors, groups, lookaheads, and common real-world patterns with practical examples in JavaScript, Python, and grep.
Regex Capture Groups: Named, Non Capturing and Backreferences (2026)
Complete guide to regex capture groups: basic groups, named capture groups, non-capturing groups, backreferences, and real-world extraction examples in JavaScript, Python, and more.
Regex Lookahead & Lookbehind: Zero-Width Assertions Explained
Master regex lookahead and lookbehind zero-width assertions: positive lookahead, negative lookahead, positive lookbehind, negative lookbehind. Practical examples for password validation, log parsing, and data extraction.
Regex Replace: Find & Replace with Regular Expressions
Complete guide to regex find and replace with real examples: date reformatting, HTML stripping, camelCase conversion, batch renaming, and sed substitutions. JavaScript, Python, and command-line examples.
Regex to Match Email: Patterns That Actually Work (2026)
Regex patterns for matching and validating email addresses that actually work: simple patterns, HTML5 standard, RFC 5322, JavaScript and Python examples, and what no regex can tell you.
Regex to Match Phone Numbers: US, UK and International (2026)
Regex patterns for matching phone numbers: US formats, international E.164, UK, EU, extracting from text, normalizing to a standard format, and why phone validation is harder than email.
Regex to Match URLs: HTTP, HTTPS and Query Strings (2026)
Complete guide to regex URL matching: HTTP/HTTPS patterns, full URL validation with path, query, and fragment, domain extraction, and language-specific examples in JavaScript, Python, and more.
HTTP and curl
Status codes, headers and the curl flags that show you what a server really sent back. curl is also how I test an origin directly when Cloudflare's bot protection would challenge a normal request.
HTTP Status Codes Complete Guide: Every Code Explained
All HTTP status codes: 1xx-5xx with real examples, debugging tips, and when to use each in REST APIs.
The Ultimate curl Cheat Sheet for Developers (2026)
Copy-paste curl examples for every common scenario: GET, POST, JSON, headers, authentication, file uploads, cookies, SSL, timing, proxies, and more. The only curl reference you will ever need.
curl POST JSON: Complete Guide with Real API Examples (2026)
Complete guide to sending JSON POST requests with curl: Content-Type headers, authentication, reading from files, PATCH/PUT, error handling, and real-world API examples.
curl Authentication: Basic Auth, Bearer Token and OAuth Examples
Complete guide to curl authentication: Basic auth, Bearer tokens, API keys, OAuth 2.0 client credentials, and mTLS. Copy-paste examples for every method.
curl vs wget in 2026: Which Download Tool Should You Use?
curl vs wget: a detailed comparison of features, use cases, protocols, scripting, and performance. Know exactly when to use each command-line HTTP tool.
Convert curl to JavaScript fetch: Complete Guide
Convert curl to JavaScript fetch: complete guide with copy-paste examples for GET, POST, JSON, custom headers, authentication, file upload, and error handling.
HTML, front end and page markup
Meta tags, structured data, minification and the small markup details that decide how a page is shown in search and when shared.
HTML Meta Tags: Complete Guide for SEO & Social Sharing
Complete guide to HTML meta tags for SEO and social sharing. Covers meta description, Open Graph, Twitter Cards, canonical, robots, viewport, and structured data.
Open Graph Tags Guide: Perfect Social Media Previews
Complete Open Graph tags guide. Learn how to implement og:title, og:description, og:image, og:url, and Twitter Card meta tags for perfect social media previews on Facebook, LinkedIn, Twitter, and Slack.
Twitter Card Meta Tags: Get Perfect Previews (Complete Guide)
Twitter Card meta tags explained: how to implement summary, summary_large_image, and app cards, required image dimensions, common mistakes, and how to validate your cards before publishing.
HTML Semantic Elements: Complete Guide for Accessibility (2026)
Complete guide to HTML semantic elements: header, nav, main, article, section, aside, footer. Learn why semantic HTML5 tags improve SEO, accessibility, and code maintainability.
CSS Flexbox Cheat Sheet: Every Property Explained with Examples
CSS Flexbox cheat sheet: every container and item property explained with live examples. justify-content, align-items, flex-wrap, flex-grow, order, gap, and real-world layout patterns.
CSS Grid Cheat Sheet: Complete Guide with Visual Examples
CSS Grid cheat sheet: complete guide with visual examples. grid-template-columns, fr units, grid-template-areas, auto-fill, auto-fit, minmax, named lines, and responsive layout patterns.
CSS Custom Properties (Variables): Complete Guide
CSS custom properties (variables) complete guide: syntax, inheritance, dark mode theming, responsive design, JavaScript interaction, and real-world examples.
Responsive Web Design in 2026: Complete Guide
Responsive web design in 2026: container queries, fluid typography with clamp(), CSS Grid auto-fill, aspect-ratio, mobile-first strategy, and modern breakpoints guide.
How to Minify CSS and HTML for Faster Websites
What minification removes, before/after examples, Webpack/Vite/PostCSS integration, CLI tools, source maps, and when NOT to minify.
Markdown Cheat Sheet 2026: Complete Syntax Reference
Headings, lists, links, images, code blocks, tables, task lists, footnotes, and GitHub Flavored Markdown.
Image Compression Guide: Reduce File Size Without Losing Quality
Image compression guide: lossy vs lossless compression, quality settings, resolution optimization, next-gen formats, lazy loading, and step-by-step tools to reduce image file size without quality loss.
WebP vs PNG vs JPG: Which Image Format Is Best in 2026?
WebP vs PNG vs JPG: a practical comparison of file size, quality, transparency, animation, and browser support. Plus when to use AVIF in 2026.
SVG Optimization: Reduce File Size by 80% (Tools and Code)
Complete SVG optimization guide: remove editor metadata, simplify paths, use SVGO, inline vs external SVG, before/after file size examples, and web performance best practices for SVG compression.
How to Generate QR Codes Free: Complete Guide With Examples
QR code internals: versions, error correction, WiFi auto-connect, size optimization, and generation in JavaScript and Python.
Convert HTML to PDF: Headless Chrome and Playwright, Tested
HTML to PDF with headless Chrome and Playwright, tested: the default header that prints your file path, A4 turning into Letter, lost backgrounds, and the print CSS that works.
Compress a PDF Without Losing Quality: What Actually Shrinks It
A 9.2 MB scan cut to 1.6 MB with readable text, and a text PDF that got bigger. Measured results for Preview, pypdf and Ghostscript, all run locally without uploading.
Merge Multiple PDF Files Without Uploading Them
Merge PDFs locally with Preview, the macOS join command or pypdf. Real test results: lost bookmarks, a locked file silently dropped, and passwords that do not survive.
PDF Optimization for Web and Email: Size, Hidden Data and Fast Loading
Optimize a PDF before you publish or send it: find what makes it big, strip metadata, catch covered text and old revisions, check range requests, plus a CI check script.
Databases and SQL
Readable SQL, formatting and the query habits that keep a database fast and safe from injection.
SQL Joins Explained: INNER, LEFT, RIGHT, FULL (With Examples)
SQL joins explained with real examples: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL OUTER JOIN, CROSS JOIN, and SELF JOIN. Includes visual diagrams, practical queries, and performance tips.
SQL Index Optimization: Speed Up Slow Queries (Real Examples)
SQL index optimization guide: how database indexes work, B-tree vs hash, when to add indexes, composite indexes, covering indexes, EXPLAIN output, and common indexing mistakes to avoid.
Database Normalization: 1NF to 5NF Explained with Examples
Database normalization explained: 1NF through 5NF with real table examples, step-by-step transformations, and when to intentionally denormalize for performance.
SQL vs NoSQL: How to Choose the Right Database
SQL vs NoSQL: a practical guide to choosing the right database. Covers ACID vs BASE, relational vs document models, scaling, MongoDB vs PostgreSQL, and real-world use cases.
Tool roundups
Collections of free developer tools. Under the editorial policy, any roundup that includes SecureBin's own tools has to say they're mine.
Tools for this topic
Formatters, validators, converters and testers for every format above. Paste, check, copy, and nothing leaves the page.
JSON Formatter & Validator
Format, beautify, minify, validate JSON. Syntax errors with line numbers.
JSON Schema Validator
Validate JSON data against a schema. Error paths, preset schemas, auto-generate.
JSON Diff
Compare two JSON objects. Find additions, deletions, changes.
JSON to TypeScript
Generate TypeScript interfaces from JSON. Handles nested objects.
JSON ↔ YAML Converter
Convert between JSON and YAML. Bidirectional, nested structures.
CSV ↔ JSON Converter
Convert CSV to JSON and back. Auto-detect delimiters, headers, quoted fields.
XML ↔ JSON Converter
Convert XML to JSON and back. Handles attributes, CDATA, namespaces.
Base64 Encoder / Decoder
Encode text to Base64 or decode back. File support. UTF-8 compatible.
URL Encoder / Decoder
Encode/decode URL components. encodeURIComponent support.
Image to Base64
Convert images to Base64 data URIs. Drag-drop, multiple formats, reverse converter.
UUID Generator
Generate v4 UUIDs. Bulk generate up to 100. Multiple formats.
Timestamp Converter
Unix timestamps ↔ human dates. Live clock, milliseconds, multiple formats.
Regex Tester
Test regular expressions with live highlighting. Cheat sheet, find & replace.
Regex Pattern Generator
Common regex patterns: email, URL, phone, IP. With explanations.
SQL Formatter
Beautify and minify SQL. Keyword uppercasing, indentation, highlighting.
HTML Beautifier / Minifier
Format or minify HTML. Custom indent, live preview. Preserves pre/script blocks.
CSS Minifier / Beautifier
Minify or beautify CSS. Size comparison, savings percentage. Download output.
JavaScript Minifier
Minify or beautify JavaScript. ES6+ support, size comparison.
Markdown Preview
Live split-pane editor. Syntax highlighting, toolbar, export HTML.
Markdown to HTML
Convert Markdown to clean HTML. Live preview, copy HTML, download.
Meta Tag Generator
SEO meta tags, Open Graph, Twitter Cards. Live Google/social preview.
Robots.txt Generator
Build robots.txt visually. Block AI crawlers, set sitemap.
Favicon Generator
Generate all favicon sizes from one image. 16x16 to 512x512.
Image Compressor
Compress JPG, PNG, WebP images. Quality slider, resize, before/after comparison.
Placeholder Image
Generate placeholder images with custom size, color, text.
Color Picker & Converter
HEX, RGB, HSL, HSV, CMYK. Color harmonies, tints/shades, WCAG contrast checker.
Code Screenshot
Generate beautiful code screenshots. Multiple themes, PNG download.
QR Code Generator
Create QR codes instantly. Custom size, colors, error correction. PNG/SVG.
Barcode Generator
Code 128, EAN-13, UPC-A, Code 39, ITF-14 and 10+ types. Batch mode, PNG/SVG download.
Slugify / Text to URL
URL-friendly slugs. Custom separators, transliteration, bulk mode.
Word Counter
Words, characters, sentences, paragraphs. Reading time, keyword density.
Lorem Ipsum Generator
Placeholder text. Paragraphs, sentences, or words. HTML wrap option.
Unit Converter
Length, weight, temperature, data, speed, time, area, volume. All units simultaneously.
Privacy Policy Generator
Generate a professional, legally compliant privacy policy for your website or app in seconds.
Other topics: secrets and credentials, AWS and cloud security, web app security, DevOps, Docker and Kubernetes, security programs, compliance and insurance.