Processed in your browser

TOML / MessagePack Converter

Uses the existing safe TOML model and browser MessagePack codec for configuration payloads. Base64 carries binary bytes, while unsupported extensions and values without a safe TOML representation are rejected.

Processed in your browser
0 / 1,500,000
Converted output

Tool guide

What is TOML / MessagePack Converter?

TOML and MessagePack Converter supports configuration payloads, cache samples, and binary API debugging. Safe TOML becomes ordinary data before the browser MessagePack codec emits Base64. Decoding accepts only values that can return safely to TOML. Extensions, dangerous keys, unsafe integers, comments, and original formatting are not presented as a lossless round trip. Common workflows include the following. Generate MessagePack configuration. Decode binary log samples. Compare TOML and binary structure. The page also documents input boundaries, output behavior, and practical cautions so you can review the result before putting it into an application, configuration, test, or production workflow.

When to use it

  • Generate MessagePack configuration.
  • Decode binary log samples.
  • Compare TOML and binary structure.

How to use it

  1. Choose encode or decode.
  2. Use complete TOML or standard Base64.
  3. Convert and inspect warnings.
  4. Decode Base64 separately when raw bytes are needed.
  5. Load one of the realistic examples first to verify the selected options and processing direction before replacing it with your own data.
  6. Review the output, status message, and documented limits; copy, download, or continue only after the result matches your expectation.

Runnable examples

The “Example 1” and “Example 2” buttons load the matching inputs. They cover different structures, directions, or boundaries and can be run directly in the workspace.

Example 1

site = "JSONLane"

[release]
tools = 70
ready = true

Example 2

gqRzaXRlqEpTT05MYW5lp3JlbGVhc2WCpXRvb2xzRqVyZWFkecM=

Input rules

  • TOML must follow supported syntax.
  • Base64 must be complete.
  • Extensions and unsafe integers are rejected.
  • Text input is counted before processing and is limited to 1,500,000 characters on this page; file modes apply the separate file limit shown in the workspace.
  • MessagePack bytes are displayed as Base64.

Output rules

  • Bytes use Base64.
  • Tables and arrays map to ordinary data.
  • Comments and formatting are not retained.
  • Output reflects only the current input, direction, and options; rerun after changing a mode or value instead of treating an earlier result as current.
  • Extensions and unsafe integers are rejected.

Limitations and cautions

  • MessagePack bytes are displayed as Base64.
  • Extensions and unsafe integers are rejected.
  • TOML comments and formatting are not retained.

How your data is handled

All parsing, conversion, Base64 work, and intermediate data remain in the current browser tab. JSONLane does not upload the input or retain it after refresh or close.

FAQ

Is TOML or MessagePack data uploaded?

No. Parsing, conversion, and output generation stay in the current browser tab.

Is every round trip lossless?

No. Table typing, comments, layout, and binary-specific values differ between formats and must be reviewed.

Why does the converter reject some valid documents?

The source may be valid but still lack a safe, unambiguous representation in the selected destination.

Are extension types supported?

Only values with a safe ordinary TOML mapping are accepted.

Why use Base64?

It displays every MessagePack byte safely.

Do comments enter the binary?

No. Comments are not parsed data.

Updated: 2026-08-12