Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to readable text.
JSON has no comments and few conventions, which is exactly why formatting discipline matters when humans have to read it.
APIs return JSON minified because machines do not care about whitespace. But configuration files, fixtures and debugging dumps are read by people, and badly formatted JSON slows every review down.
Two-space indentation is the de facto standard in the JavaScript ecosystem. Four spaces is fine if your project already uses it, but pick one and stay consistent within a file. Tabs are risky because different editors render them at different widths.
Use lowerCamelCase or snake_case consistently — not both in the same payload. Avoid abbreviations that only the original author understands. A key such as user_id is clearer than uid when the data is shared.
Minification is for transport. Committed configuration and fixtures should be pretty-printed, so diffs are reviewable line by line. A minified config produces a one-line diff that nobody can check.
Most parsers preserve insertion order, but do not rely on it for logic. For readability, group related keys together: identifiers first, then content, then timestamps.
JSON does not allow trailing commas. JavaScript object literals do. Copying a JS object into a JSON file is a common source of silent breakage; validate after every edit.
Pretty-printing is not validation. A formatter that accepts invalid input teaches bad habits. The JSON formatter parses before it prints and reports the error position, so you catch problems while the context is fresh.
If the JSON came from a spreadsheet, the CSV to JSON converter builds the structure, and the formatter checks it.