Developer guides and tutorials

Practical articles on JSON, encoding, regex, cron, CSS layout and more. Each one pairs with a free tool you can try right in your browser.

JSON

6 articles

Encoding

4 articles

Generators

8 articles

Text

1 article
  • JavaScript regex cheat sheet

    Every piece of JavaScript regex syntax you reach for, from character classes to named groups and lookbehind, plus the string methods that use them and the mistakes they cause.

    Regex tester · · 5 min read

Converters

7 articles

Code

9 articles
  • How to minify CSS

    Minifying CSS removes whitespace and rewrites values into shorter forms. Here's what a good minifier changes, how to add one to your build, and the optimizations that save more.

    CSS minifier · · 3 min read

  • JavaScript minification with Terser

    Minifiers do more than strip whitespace: they rename variables, remove dead code and rewrite expressions. Here's what Terser does, which options matter, and how to avoid breaking your code.

    JS minifier · · 3 min read

  • SQL formatting best practices

    Consistent SQL is easier to review, debug and diff. Here's a style that works for most teams, with before-and-after examples and tools that apply it for you.

    SQL formatter · · 3 min read

  • HTML vs JSX: the differences that matter

    JSX looks like HTML but compiles to JavaScript, which explains every difference: className, camelCase events, style objects, closed tags and the attributes React handles differently.

    HTML to JSX converter · · 3 min read

  • GitHub Flavored Markdown cheat sheet

    The Markdown syntax you use in READMEs, issues and docs, including the GitHub extensions for tables, task lists and strikethrough, and the line break and HTML rules that trip people up.

    Markdown to HTML converter · · 3 min read

  • How to convert HTML to Markdown in JavaScript and Python

    Migrating a CMS, archiving docs or feeding pages to an LLM all need clean Markdown from HTML. Here's how to do it with Turndown and Python libraries, and how to handle tables, code and page clutter.

    HTML to Markdown converter · · 2 min read

  • Open Graph meta tags: a complete guide

    Open Graph tags decide the title, description and image people see when your link is shared. Here's the minimal set, image requirements, framework examples and fixes for stale previews.

    Open Graph preview · · 3 min read

  • How to pretty print XML

    Indenting XML makes SOAP responses, sitemaps, feeds and config files readable, but whitespace can be data. Here's how to format XML from the command line and in code without changing what it means.

    XML formatter · · 3 min read

  • Common YAML errors and how to fix them

    Most YAML errors come from a handful of causes: tabs, inconsistent indentation, colons and special characters in plain values, and duplicate keys. Here's what each error message means and the fix.

    YAML validator · · 3 min read

Security

1 article

Reference

2 articles