to

For formats.

Translate structured data to various formats.

Command Type

built-in

Signature

> to {flags}

Input/output types:

input output
nothing string

Notes

You must use one of the following subcommands. Using this command as-is will only produce this help message.

Subcommands:

name description type
to csv Convert table into .csv text . built-in
to html Convert table into simple HTML. built-in
to json Converts table data into JSON text. built-in
to kdl Converts structured data into KDL text. built-in
to md Convert table into simple Markdown. built-in
to msgpack Convert Nu values into MessagePack. built-in
to msgpackz Convert Nu values into brotli-compressed MessagePack. built-in
to nuon Converts table data into Nuon (Nushell Object Notation) text. built-in
to plist Convert Nu values into plist plugin
to text Convert data into plain text format. built-in
to toml Convert record into .toml text. built-in
to tsv Convert table into .tsv text. built-in
to txt Convert data into plain text format. built-in
to xml Convert special record structure into .xml text. built-in
to yaml Convert table into .yaml/.yml text. built-in
to yml Convert table into .yaml/.yml text. built-in

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.