Skip to main content
Z

JSON5 Validator — Check JSON5 Syntax With Error Reporting

Validate JSON5 with line and column error reporting. Supports comments, trailing commas, single quotes, hex numbers.

Miễn phí Không cần đăng ký Chạy trên trình duyệt Tôn trọng riêng tư Updated
Valid JSON5 Awaiting input Parsing…

Cách dùng

  1. 1 Paste your JSON5 — comments, trailing commas, single quotes all welcome.
  2. 2 See the green Valid pill, or a red error pill with line and column.
  3. 3 The right pane shows the parsed value as standard JSON.
  4. 4 Copy or download the JSON output.

Vì sao dùng công cụ này

  • Powered by <code class="font-mono text-xs">json5</code> — the reference JSON5 implementation.
  • JSON5 lets you author config files with comments, trailing commas, hex numbers, and more.
  • Errors include line and column so you can find them fast.
  • Pure client-side — input stays in your browser.

Câu hỏi thường gặp

What is JSON5?

JSON5 is a superset of JSON with extensions: comments, trailing commas, single-quoted strings, unquoted keys, hex/Infinity/NaN literals, and more.

Is JSON5 the same as JSONC?

No — JSONC (VS Code's "JSON with comments") only adds comments. JSON5 also adds trailing commas, unquoted keys, single quotes, etc.

Related tools?

<a class="text-brand-600 hover:underline" href="/json-formatter">JSON Formatter</a> for strict JSON; <a class="text-brand-600 hover:underline" href="/yaml-formatter">YAML Formatter</a> if you want full YAML.

JSON5 Validator là gì?

A JSON5 Validator is a tool that checks whether text conforms to the JSON5 specification and reports syntax errors with line and column positions. It accepts JSON5 features that standard JSON rejects, including comments, trailing commas, single-quoted strings, and hexadecimal numbers. Running client-side in the browser, it validates and parses JSON5 input without uploading it to a server.

Tóm tắt

JSON5 Validator là công cụ lập trình miễn phí của Zerethon Tools. Validate JSON5 with line and column error reporting. Supports comments, trailing commas, single quotes, hex numbers. Chạy hoàn toàn trong trình duyệt — không đăng ký, không tải lên.

Danh mục
Lập trình
Giá
Miễn phí
Quyền riêng tư
Chạy trên trình duyệt
Đăng ký
Không cần

Quyền riêng tư

Dữ liệu của bạn không bao giờ rời khỏi trình duyệt trừ khi được nêu rõ. JSON5 Validator chạy hoàn toàn phía client — không tải lên máy chủ, không ghi log, không theo dõi dữ liệu bạn nhập.

Kiến thức cơ bản

Công cụ liên quan

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Sign up free