منسّق JSON
نسّق JSON ليسهل قراءته أو صغّره أو تحقّق من صحته. التعليقات والفواصل الزائدة في النهاية وعلامات الاقتباس المفردة غير مسموحة. لا يحوّل إلى CSV.
جرّب تعبيرًا نمطيًا على نص تجريبي واعرض كل تطابق وموضعه ومجموعاته.
تعمل هذه الأداة في متصفحك. تبقى المدخلات والملفات والقيم الناتجة على هذا الجهاز. تحفظ المفضلة والأدوات المستخدمة مؤخرًا، إن استخدمتها، أسماء الأدوات فقط في التخزين المحلي، ولا تحفظ أبدًا كلمات المرور أو المستندات أو محتوى رموز QR. راجع سياسة الخصوصية.
الدليل المفصّل لهذه الأداة (طريقة الاستخدام والأمثلة والأسئلة الشائعة) متوفر بالإنجليزية حاليًا.
Type a regular expression, choose flags, and paste the text you want to test. The page lists whether anything matched, how many matches it found, the matched text, where each match starts, and any capture groups.
Pattern \d+, flag g, text “Order 14 and order 3”. You get two matches, 14 at the first digit and 3 at the later digit.
Pattern Name: (\w+) on “Name: Sara” shows the full match and group 1 as Sara.
The page builds a JavaScript RegExp and runs it on the text you pasted. It does not eval the pattern as a script. A dot matches one character. * means zero or more, + means one or more, and ? means optional. Brackets match one character from a set. Parentheses capture a group. A bar means or. \d is a digit, \s is whitespace, and \w is a word character. Without g, only the first match is listed.
This uses the browser’s JavaScript regular expressions, which differ from some other engines. A pattern longer than 300 characters is rejected. A very slow pattern can still stall the tab. The page does not sandbox the match in a separate process. It will not run other JavaScript you type in the pattern box.
See the disclaimer for what these tools do not cover.
نسّق JSON ليسهل قراءته أو صغّره أو تحقّق من صحته. التعليقات والفواصل الزائدة في النهاية وعلامات الاقتباس المفردة غير مسموحة. لا يحوّل إلى CSV.
أنشئ ملخص SHA-256 أو SHA-384 أو SHA-512 لنص داخل متصفحك. هذه تجزئة وليست تشفيرًا.
حوّل مصفوفة كائنات JSON إلى CSV، بما في ذلك الفواصل وعلامات الاقتباس داخل الخلايا.
رمّز النص إلى Base64 أو فكّ ترميزه باستخدام UTF-8. يستطيع أي شخص فك الترميز، لذا لا يخفي كلمة المرور. لا تُقبل الملفات.
أنشئ قيمة UUID v4 واحدة أو أكثر داخل متصفحك باستخدام مصدر عشوائي آمن.
رمّز أجزاء الرابط أو فكّ ترميزها داخل متصفحك باستخدام encodeURIComponent.
A dot matches one character. * means zero or more, + means one or more, and ? means optional. Square brackets match one character from a set. Parentheses capture a group. A bar means or. ^ and $ mark the start and end of a line when the m flag is on. \d is a digit, \s is whitespace, and \w is a word character. This page only builds a RegExp. It does not run other JavaScript from the pattern box.