FormatterHQ

Developer guides — page 2

Practical guides for developers: data formats, encoding, regular expressions, debugging and more, with examples you can try in our free online tools.

Regular expressions

Regex basics for developers: a practical guide

Regular expressions look cryptic until you know the dozen building blocks they are made of. This practical guide covers the syntax you will use every day, real patterns you can adapt and the traps that cause bugs and slow code.

· 6 min read

Encoding

Base64 encoding explained (with examples)

Base64 turns any bytes into plain text so they survive systems built for text. Learn exactly how the encoding works, why output ends with “=”, where Base64URL fits in and the mistakes that trip developers up.

· 5 min read

Debugging

How to debug invalid JSON: common errors and fixes

“Unexpected token” and “Expecting property name” tell you where JSON parsing failed, not why. This guide shows how to read those errors, the dozen mistakes behind most invalid JSON, and how to stop them happening again.

· 6 min read

Data formats

JSON vs YAML vs TOML: when to use which

JSON, YAML and TOML can all describe the same data, but they are built for different jobs. Here is how they differ, where each one bites, and how to pick the right one for APIs and config files.

· 6 min read