Skip to content
86% off$349 $48.86code BF2026

Docs

Bytepliers docs37 pages

Bytepliers Format tools: JSON, SQL, XML, HTML, Markdown, SCSS

Reference for the 7 Bytepliers Format tools: JSON, SQL and XML formatters, HTML/CSS/JS, Markdown and HTML previews, SCSS / LESS. Options, defaults and limits.

Updated 4 min read

On this page

The Format group holds the pretty-printers and previews. It is the first group in the sidebar and in the Tools menu. For the other groups and the rules that apply to every tool, see the Bytepliers tools list.

ToolIdSubtitle
JSON FormatterjsonFormat, minify and validate JSON
SQL FormattersqlFormat and minify SQL queries
XML FormatterxmlPretty-print, minify and validate XML
HTML / CSS / JSwebBeautify and minify markup, stylesheets and scripts
Markdown PreviewmarkdownRender Markdown and export HTML
HTML PreviewhtmlPreviewRender HTML offline, with scripts and network off
SCSS / LESSscssFormatBeautify and minify SCSS and LESS stylesheets

The id is what goes in bytepliers://open/<id>, for example bytepliers://open/sql.

JSON Formatter

Id json, shortcut ⌘1.

  • Output: Format (default) or Minify. View the result as Text or as a Tree with a path bar.
  • Indent (Format only): 2 spaces (default), 4 spaces or Tab.
  • Sort Keys: sorts keys recursively. Off by default.
  • Parsing: Lenient (default) repairs broken JSON (comments, trailing commas, single quotes, unquoted keys, NaN and more) and lists each fix with its line and column. Strict accepts RFC 8259 JSON only.
  • Several documents: if the input has several JSON documents on separate lines, choose One per line (default) or Wrap as array.
  • Filter bar: filter the output with jq (default) or JSONPath. You can save filters and turn on Raw output.
  • Open URL or cURL… (⌘U) fetches a URL or a pasted cURL command. A request goes out only when you click Send.
  • Limits: input up to 64 MB. Nesting deeper than 100 levels fails with "Nesting too deep". A jq filter can be up to 10,000 characters, runs for at most 2 s and returns at most 10,000 results.
  • Transforms: Format JSON, Minify JSON, Sort JSON Keys, jq Filter.

The full walkthrough is in JSON Formatter in Bytepliers.

SQL Formatter

Id sql.

SQL Formatter formatting a query with a join, group by and having
  • Mode: Format (default) or Minify.
  • Keywords: UPPER (default), lower or Preserve.
  • Indent (Format only): 2 Spaces (default) or 4 Spaces.
  • Layout: one clause per line (SELECT, FROM, WHERE, JOINs, AND/OR, CASE/WHEN), with subqueries indented.
  • Kept verbatim: strings, comments and quoted names, including $$…$$, `…` and […]. Parameters such as $1, :name, ? and @v are recognized.
  • Errors: shown with line and column, for example an unterminated string or an unmatched ).
  • Limits: 2 MB. Indentation stops growing after 64 levels.
  • Transforms: Format SQL, Minify SQL.

XML Formatter

Id xml.

  • Mode: Format or Minify.
  • Format option: Indent 2 Spaces (default), 4 Spaces or Tab.
  • Minify option: Keep comments, on by default.
  • Handles: CDATA, comments, processing instructions and DOCTYPE with an internal subset. Attribute order and quotes are kept.
  • Validation: checks that the XML is well-formed, with external entities off.
  • Limits: nesting deeper than 256 elements fails. 2 MB.
  • Transforms: Format XML, Minify XML.

To turn XML into JSON instead, use XML ↔ JSON.

HTML / CSS / JS

Id web.

  • Mode: Beautify (default) or Minify.
  • Language: Auto (default), HTML, CSS or JavaScript.
  • Indent (Beautify only): 2 Spaces (default), 4 Spaces or Tab.
  • HTML: <pre> and <textarea> are kept as typed. <style> and <script> bodies are formatted too.
  • JavaScript: when minifying, a newline is kept wherever automatic semicolon insertion could matter.
  • Status line: shows the size change.
  • Transforms: Beautify and Minify for HTML, CSS and JavaScript.

Markdown Preview

Id markdown.

Markdown Preview rendering its sample
  • Modes: Preview, HTML or Split (default).
  • Export HTML… (⌘S) saves a standalone styled HTML document, titled from the first heading.
  • Supported syntax: headings, lists including task lists, fenced code, block quotes, GFM tables with alignment and raw HTML.
  • Safety: output is escaped and javascript: links are sanitized.
  • Limit: the preview shows at most 800 blocks. The HTML tab has the rest.
  • Transform: Markdown → HTML.

HTML Preview

Id htmlPreview.

HTML Preview tool with its built-in sample input and result
  • Permissions menu: Allow JavaScript and Allow Network, both off by default.
  • Sandboxing: link clicks, form submits, reloads and new windows are cancelled, and the preview uses a non-persistent data store.
  • Open in Browser writes a temporary copy and opens it in your default browser.

SCSS / LESS

Id scssFormat. New in 1.1.

  • Mode: Beautify (default) or Minify.
  • Indent (Beautify only): 2 Spaces (default), 4 Spaces or Tab.
  • Options menu: in Beautify, Blank Line Between Rules and One Map Entry Per Line (both on). In Minify, Keep /*! Comments (on).
  • Dialect: detected from the syntax ($variables, @mixin / @include, @var:, .mixin(), guards) and shown as a chip: SCSS, LESS or CSS.
  • Comments: a // comment inside a statement is rewritten as /* … */, so joining lines can't comment out code.
  • Limits: 8 MB. Indented .sass syntax is reported as unsupported.
  • Not included: it formats the stylesheet; it doesn't compile SCSS or LESS to CSS.

.scss and .less files opened from Finder land here.

Every app.
One purchase.