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

Docs

Bytepliers docs37 pages

Bytepliers Convert tools: YAML, XML, TOML, plist, PHP, TOON

Reference for the 12 Bytepliers Convert tools: YAML, XML, TOML, plist, INI and .env, PHP and serialize() to JSON and back, TOON, Markdown tables, HTML, query strings.

Updated 6 min read

On this page

The Convert group turns one format into another, almost always JSON and back. For the other groups, see the Bytepliers tools list.

ToolIdSubtitle
YAML ↔ JSONyamlConvert between YAML and JSON
Markup → CodemarkupToCodeTurn HTML into JSX and SVG into CSS data URIs
XML ↔ JSONxmlJsonConvert XML to JSON and back, attributes included
TOML ↔ JSONtomlJsonConvert TOML config files to JSON and back
Plist ↔ JSONplistJsonProperty lists (XML or binary) to JSON and back
INI / .env ↔ JSONiniJsonINI, .env and .properties files to JSON and back
PHP ↔ JSONphpJsonPHP array literals to JSON and back
PHP SerializerphpSerializeUnserialize PHP data to JSON and serialize it back
JSON ↔ TOONjsonToonToken-Oriented Object Notation for compact LLM prompts
Markdown TablemarkdownTableCSV, TSV or JSON to a Markdown table and back
HTML ↔ MarkdownhtmlMarkdownConvert HTML to Markdown and Markdown to HTML
JSON ↔ Query StringjsonQueryJSON to URL query or form parameters and back

How the two-way converters work

The ten converters added in 1.1 (XML ↔ JSON to JSON ↔ Query String) share one screen:

  • Direction: two mode tabs, for example XML → JSON and JSON → XML. Swap converts the output back the other way.
  • Automatic direction: when you paste, load a sample or open a file, the tool picks the direction that fits the text. Pasting JSON into XML ↔ JSON switches to JSON → XML. Typing never flips the direction.
  • Options: the most used choice sits next to the mode tabs; the rest are in the Options menu, which shows how many options you changed and has Restore Defaults. Whenever the output is JSON, the menu also has JSON Indent: 2 spaces (default), 4 spaces or Tab.
  • Errors: shown with line and column.
  • Limits: 20 MB of input. Nesting deeper than 200 levels fails.
  • Options are per window: they're kept while the window is open, not between launches.

YAML ↔ JSON

Id yaml.

  • Mode: YAML → JSON (default) or JSON → YAML. Swap reverses the direction.
  • Indent: JSON 2 spaces (default), 4 or Tab. YAML 2 Spaces (default) or 4 Spaces.
  • Supported: a YAML 1.2 subset with anchors, aliases, << merge keys and block scalars.
  • YAML 1.1 values: yes/no/on/off, 1_000, dates and .inf stay strings.
  • Limits: one document per input, no tabs as indentation, nesting up to 64 levels, aliases expanding to at most 100,000 nodes, 2 MB.
  • Transforms: YAML → JSON, JSON → YAML.

Markup → Code

Id markupToCode.

  • HTML → JSX (default): converts class and for, camelCases attributes, turns inline style into an object, self-closes void tags and wraps several root elements in <>…</>.
  • SVG → CSS: validates and minifies the SVG, then outputs a background-image data URI. Encoding is URL-encoded (default) or Base64.

XML ↔ JSON

Id xmlJson. New in 1.1.

  • XML → JSON: Attributes as @ Prefix (default, "@id") or an _attributes Object. Element text goes in #text, and repeated elements become arrays. Options: Strip Namespaces and Infer Numbers and Booleans, both off.
  • JSON → XML: a single top-level key becomes the root element; otherwise the Root field names it (root by default). @x keys and _attributes objects become attributes. Option: Pretty Print, on.
  • Transforms: XML → JSON (xml-to-json), JSON → XML (json-to-xml).

TOML ↔ JSON

Id tomlJson. New in 1.1.

  • TOML → JSON: full TOML 1.0, including the rules against redefining a table. Dates and times stay strings, and inf and nan become strings.
  • JSON → TOML: writes [tables] and [[arrays of tables]], with inline tables for mixed arrays. TOML has no null, so nulls are dropped and the status line counts them.
  • Files: .toml files opened from Finder land here.
  • Transforms: TOML → JSON (toml-to-json), JSON → TOML (json-to-toml).

Plist ↔ JSON

Id plistJson. New in 1.1.

  • Plist → JSON: reads XML plists, binary plists (as Base64) and old OpenStep plists. Key order is kept. Data becomes Base64, dates become ISO 8601 and UIDs become {"CF$UID": n}.
  • Open Plist… opens an XML or binary .plist file. A binary plist shows as Base64 in the input with the JSON in the output.
  • JSON → Plist: Output is XML (default) or Binary (Base64). With Binary, Save Binary… writes a .plist file. Option: Strings Like ISO 8601 Become Dates, on.
  • Files: .plist files opened from Finder land here, binary ones included.

INI / .env ↔ JSON

Id iniJson. New in 1.1.

  • INI → JSON: Format is Auto-Detect (default), INI, .env or .properties. Options: Infer Numbers and Booleans and Nest Dotted Keys, both off.
  • JSON → INI: Format is INI (sections, the default), .env (flattened A_B names) or .properties (a.b and a[0] keys).
  • Files: .ini, .cfg, .env and .properties files open here, and so do dotfiles such as .env.local.

PHP ↔ JSON

Id phpJson. New in 1.1.

  • PHP → JSON: reads a PHP array literal, with […] or array(…) and =>.
  • JSON → PHP: short […] syntax. Options menu: Indent 2 Spaces, 4 Spaces (default) or Single Line, Long array() Syntax (off) and Wrap in <?php return …; (off).
  • Not included: it reads array literals only; it doesn't run PHP code.

PHP Serializer

Id phpSerialize. New in 1.1.

  • Unserialize (default): reads serialize() output into JSON. Objects (O:) become {"__class": …}; C:, E: and r:/R: references are read too. String lengths are checked byte for byte.
  • Repair Lengths (off): fixes s:N: lengths that don't match the string, for example after a search and replace in a WordPress database.
  • Serialize: turns JSON back into serialize() format.
  • Transform: PHP Unserialize (php-unserialize).

JSON ↔ TOON

Id jsonToon. New in 1.1.

  • JSON → TOON: writes Token-Oriented Object Notation (spec v2): tables like users[2]{id,name}:, inline arrays like tags[3]: a,b,c, and - lists. Delimiter is Comma (default), Tab or Pipe; Tab often saves the most tokens. Indent is 2 Spaces (default) or 4 Spaces. The status line shows the token and character savings against the JSON.
  • TOON → JSON: strict: declared lengths, table widths and indentation must match.
  • Transform: JSON → TOON (json-to-toon).

Markdown Table

Id markdownTable. New in 1.1.

  • To Markdown: From Auto-Detect (default), CSV, TSV or JSON. Align Default, Left, Center, Right or Numbers Right. Options menu: Pad Columns (on), First Row Is Header (on, not used for JSON) and Column Alignment per column for the first 30 columns.
  • Details: pipes are escaped and line breaks inside cells become <br>.
  • From Markdown: reads the first Markdown table into To CSV, TSV or JSON (default). Option for JSON: Infer Numbers and Booleans, on.
  • Transform: CSV → Markdown Table (csv-to-markdown).

HTML ↔ Markdown

Id htmlMarkdown. New in 1.1.

  • HTML → Markdown: headings, emphasis, links, images, nested and task lists, fenced code with its language, quotes, GFM tables and rules. Scripts and styles are dropped. Bullet is Hyphen (default) or Asterisk.
  • Markdown → HTML: an HTML fragment, or with Full Document (off) a standalone page with <head> and light styling.
  • Transform: HTML → Markdown (html-to-markdown).

JSON ↔ Query String

Id jsonQuery. New in 1.1.

  • JSON → Query: Arrays as a[]=1&a[]=2 (default), a[0]=1&a[1]=2, a=1&a=2 or a=1,2. Options menu: Nesting a[b]=1 (default) or a.b=1, Encoding RFC 3986 (%20, default) or Form (+), and Percent-Encode [ ] in Keys (off).
  • Query → JSON: accepts a full URL, a query string or a form body. Infer Types (on) turns numbers, true/false and null into JSON types; 02134 stays text. Options menu: Nesting and Split Comma-Separated Values (off; when on, a=1,2 becomes an array).

Every app.
One purchase.