./prontouso.com
CHUYỂN ĐỔI ĐƠN VỊ

Chuyển Đổi CSV sang JSON & Ngược Lại

Chuyển đổi tệp hoặc dữ liệu CSV sang mảng JSON có cấu trúc và ngược lại. Tự động nhận diện dấu phân cách, định dạng số và xuất tệp tải về.

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước

CSV input

Hoặc kéo & thả tệp bất kỳhoặc chọn tệp từ máy
.csv, .tsv, .txt · tối đa 2.0 MB. Xử lý trực tiếp trên trình duyệt, không bao giờ tải lên máy chủ.

Dữ liệu đầu ra

Rows
2
Columns
2

CSV converted to JSON.

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

Chuyển Đổi CSV sang JSON & Ngược Lại là gì?

Convert a CSV or TSV table into formatted JSON objects using the first row as field names.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

How to convert CSV to JSON

How to use it

  • Paste CSV data or load a .csv, .tsv, or .txt file.
  • Let the tool detect the delimiter, or choose comma, semicolon, or tab.
  • Review the row and column counts.
  • Copy the formatted JSON output.

Expected CSV shape

The first row is treated as headers. Each following row becomes one JSON object, and missing cells become empty strings.

Before copying JSON

  • Check that the detected delimiter matches your file.
  • Confirm the header names are the keys you want.
  • Review row and column counts for obvious paste mistakes.

CSV notes

Delimiter detection and quoted-cell parsing cover common CSV exports. Review headers and row counts before using the converted JSON in automation.

Các Câu Hỏi Thường Gặp (FAQ)

Does it support quoted commas?

Yes. Quoted cells can contain delimiters and escaped quotes.

Can I convert TSV?

Yes. Choose Tab as the delimiter or let the detector pick it from the first row.

Are numbers converted to JSON numbers?

No. CSV cells are kept as strings so identifiers, leading zeros, and formatting are preserved.

How are missing cells handled?

When a data row has fewer cells than the header row, missing values become empty strings in the JSON object.

Công Cụ Liên Quan