Hongmu Notes

🔄 Data format conversion

Paste the table text into the input box, select the source format and target format, set the separator and whether there is a header according to the source, and click Convert to get the result. Tables and structured formats can be converted in both directions. Fields containing delimiters will be automatically escaped according to the convention. After conversion, row and column statistics will be provided for easy verification.
100% Browser local processing 0 Data upload

🔄 Source data and conversion settings

identified as - | Number of lines 0 | Number of columns 0 | The number of columns is the same -

💡 Instructions for use

  • After pasting, check the recognition results first: if the separator is correct, the number of columns will be stable, but if the delimiter is incorrect, the first row will look obviously wrong.
  • When the field contains commas, use tab delimiters instead, or wrap the entire field in quotation marks, both of which can prevent the structure from being cut incorrectly.
  • After checking the header, the number of records should be one less than the total number of rows; if they are equal, it means that the header is regarded as data and needs to be reset.
  • Numbers starting with zero will be inferred as numbers and the leading zeros will be discarded. You can preserve them by adding a prefix before transferring; rows with inconsistent column numbers need to be returned to the source for correction.

🔄 How to convert

Paste the data into the input box, select the source format and target format, set the separator and whether there is a header according to the source, and click Convert to get the result. The table and structured format can be converted in both directions: when the table is transferred out, the field names are generated according to the table header, and when the structured format is transferred back, the columns are generated according to the field names. The conversion results can be copied or downloaded as a file.

First confirm the source format: when the delimiter is wrongly selected, the first line will look obviously wrong. This is the fastest self-check.

✂ Delimiters and quotes

The delimiter must not appear in the field content, otherwise it will be extra cut. When the field itself contains delimiters or line breaks, the entire field needs to be enclosed in quotation marks, with the quotation marks repeated again. The converter will parse and generate according to this set of conventions, so the description text containing commas can also be completely restored, and the table will not be cut incorrectly.

If there are commas in the fields, use tabs to separate them, or wrap them in quotation marks. In both cases, don't cut them hard.

🏷 Headers and type inference

Whether the first row is the header determines where the field names come from: if checked, the first row is used as the field name, if not checked, fields named by serial numbers are generated. In terms of type, the plain text format does not save type information. When it is converted to a structured format, it will be inferred based on the content. If it looks like a number, it will be converted into a number, and the rest will remain text. Therefore, you need to pay attention to numbers starting with zero.

Numbers starting with zero will be inferred as numbers and leading zeros will be discarded. Remember to spot check after the transfer.

✅ How to verify the results

First look at the statistics: whether the number of rows and columns is consistent with the source. If the number of fields in a row is obviously different, it is probably a separator or quotation mark problem. The most reliable verification method is to convert the result back to the original format and compare it line by line with the original data. The restoration of the two conversions shows that there is no information loss in the middle, which is much easier than visual inspection field by field.

Convert the results back to the original format and compare again: only if the two conversions can be restored, no information is lost.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Will the data be uploaded??
No. All parsing and generation are completed locally in the browser, and no upload request is initiated.
What formats are supported?
Supports comma- and tab-delimited tabular text, as well as structured format conversion.
Will Chinese characters be garbled??
The page is processed using a unified character set. If the source file encoding is different, confirm it before pasting it in.
What to do if there are commas in the field?
Enclose the entire field in quotation marks, or use tab characters as delimiters instead.
Do I need to check the header??
If the first line is a text description, check it as a field name; if it is data, leave it unchecked.
Can I download the results??
Yes. After the conversion is completed, copy or download it into a file so that it can be put into other tools for further processing.