Free Tool Directory / Lwm yam cuab yeej / JSON Formatter

JSON Formatter

Dawb JSON formatter: muab tshuaj txhuam JSON kom siv tau nws, ua kom zoo nkauj nrog indentation, lossis txo nws. Qhov yuam kev qhia cov kab thiab kab ke, thiab koj tuaj yeem txheeb cov yuam sij A-Z.

Muab tshuaj txhuam JSON kom siv tau nws, ua kom zoo nkauj nrog indentation lossis txo nws mus rau ib kab, thiab txheeb cov yuam sij A-Z yog tias koj nyiam. Qhov yuam kev qhia cov kab thiab kab ke, yog li cov kab lus tom qab lossis ib qho kev tsocai yooj yim nrhiav tau. Siv nws los ntxuav cov lus teb API ua ntej muab tso rau hauv daim ntawv ceeb toom kab mob.

Qhib lub cuab yeej →

Dawb siv, tsis muaj npe. Cov cuab yeej qhib ntawm nws tus kheej nplooj ntawv thiab khiav hauv koj tus browser.

Xav tau ntxiv? Mus Pro

Pro: download your JSON results & save history, $5 one-time

Tau txais Pro →

Alipay — $5

Los yog qhib txhua lub cuab yeej nrog All-Access Pro — $15 ib zaug.

Tau All-Access — $15 ib zaug

Alipay — $15

Cov nqi raug kho los ntawm lub teb chaws yog li tib lub cuab yeej raug nqi tsawg dua qhov twg cov nyiaj tau los qis dua - koj pom tus nqi rau koj lub tebchaws.

Xav Alipay? Saib tag nrho cov kev xaiv them nyiaj.

Twb tau them? Nkag mus rau Pro

Yuav siv li cas

  1. Paste JSON into the input box.
  2. Press Format for an indented version, or Minify for a single line.
  3. Fix any error at the line and column shown, or tick the sort box to order keys A–Z.

Cov lus nug

Where exactly is my JSON wrong?

The tool shows the line and column of the error. A common cause is a trailing comma after the last item, or single quotes where JSON needs double quotes.

Does it change my data?

No. Formatting only changes whitespace and, if you ask for it, the order of keys. Values, numbers and strings stay exactly the same.

Can it handle large files?

Yes, within reason — pasting a few megabytes works fine in a modern browser. Very large documents may be slow, so minify before pasting if you only need to check validity.

Ntau Lwm yam cuab yeej cov cuab yeej

← Rov qab mus rau tag nrho cov cuab yeej · Tshawb nrhiav cov lus qhia