JSON ফরম্যাটারJSON formatter
JSON formatter
এলোমেলো বা এক লাইনের JSON পেস্ট করুন — ইন্ডেন্টসহ সাজানো আউটপুট পাবেন। ভুল থাকলে লাইন ও কলাম নম্বর সহ কারণ বলে। সবকিছু আপনার ব্রাউজারে হয়।Beautify, minify and sort JSON, with exact line and column for errors.
সব হিসাব আপনার ব্রাউজারেই হয়, কিছুই সার্ভারে যায় না।
কীভাবে কাজ করেHow it works
নিজস্ব কড়া পার্সার JSON পড়ে (মন্তব্য, শেষের বাড়তি কমা, একক উদ্ধৃতি চলে না — এগুলোই সাধারণ ভুল)। সফল হলে নতুন ইন্ডেন্টে লিখে দেয়; বড় সংখ্যা (যেমন ১২৩৪৫৬৭৮৯০১২৩৪৫৬৭৮৯০) যেমন ছিল তেমন থাকে, গোল হয় না। ভুল হলে কোথায় আটকেছে লাইন ও কলাম দিয়ে বলে।
Our strict parser reads JSON (comments, trailing commas, and single quotes are not allowed—these are common errors). If successful, it reformats with new indentation; large numbers (e.g., 12345678901234567890) remain unchanged and are not rounded. If an error occurs, the line and column number where parsing failed are displayed.
হিসাবের উদাহরণWorked examples
এক লাইনের JSONSingle-Line JSON
- ইনপুটInput
- {"b":1,"a":[1,2,{"x":true}],"নাম":"রহিম"}
- কাজAction
- সুন্দর করে সাজানBeautify
- ইন্ডেন্টIndent
- ২ স্পেস2 spaces
- কী (key) বর্ণানুক্রমে সাজানSort keys A–Z
- হ্যাঁYes
- মূল ধরনRoot type
- object
- মোট কীKeys
- ৪4
- গভীরতাDepth
- ৪4
- আউটপুটের মাপ (অক্ষর)Output size (characters)
- ৮৫85
Minify
- ইনপুটInput
- { "a": 1, "b": [1, 2] }
- কাজAction
- ছোট করুন (minify)Minify
- ইন্ডেন্টIndent
- ২ স্পেস2 spaces
- কী (key) বর্ণানুক্রমে সাজানSort keys A–Z
- নাNo
- মূল ধরনRoot type
- object
- মোট কীKeys
- ২2
- গভীরতাDepth
- ৩3
- আউটপুটের মাপ (অক্ষর)Output size (characters)
- ১৭17
সাধারণ প্রশ্নFrequently asked questions
আমার JSON কি কোথাও পাঠানো হয়?Is my JSON sent anywhereBDT
না। পার্সিং ও সাজানো পুরোটা আপনার ব্রাউজারে হয়; টোকেন বা ব্যক্তিগত ডেটা পেস্ট করলেও কোথাও যায় না।No. Parsing and formatting occur entirely in your browser; tokens or personal data are never transmitted.
"Unexpected token" ধরনের ভুল কেন আসে?Why do I get an "Unexpected token" errorBDT
সাধারণত শেষ আইটেমের পর বাড়তি কমা, একক উদ্ধৃতি ('), কী-তে উদ্ধৃতি না থাকা বা মন্তব্য থাকলে। টুল ঠিক সেই জায়গার লাইন-কলাম দেখায়।Usually due to a trailing comma after the last item, single quotes ('), missing quotes around keys, or comments. The tool highlights the exact line and column where the issue occurs.
কী সাজালে অ্যারের ক্রম বদলায়?Does sorting change array orderBDT
না। শুধু অবজেক্টের কী বর্ণানুক্রমে সাজে; অ্যারের আইটেমের ক্রম যেমন ছিল তেমন থাকে।No. Only object keys are sorted alphabetically; the original order of array items is preserved.
আরও কাজের টুলMore useful tools
💻 ডেভেলপার টুল — সব টুল দেখুনDeveloper Tools — view all tools →