Datasets:
verse_key stringlengths 3 6 | surah int16 1 114 | ayah int16 1 286 | ayah_global int32 1 6.24k | juz int16 1 30 | page int16 1 604 | abjad_mashriqi_uthmani int64 14 39.2k | abjad_maghribi_uthmani int64 14 44k | n_letters_uthmani int64 2 547 | n_words_uthmani int64 1 128 | abjad_mashriqi_imlaei int64 14 39.2k | abjad_maghribi_imlaei int64 14 44k | n_letters_imlaei int64 2 551 | n_words_imlaei int64 1 129 | letter_delta int64 -3 24 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1:1 | 1 | 1 | 1 | 1 | 1 | 786 | 1,026 | 19 | 4 | 786 | 1,026 | 19 | 4 | 0 |
1:2 | 1 | 2 | 2 | 1 | 1 | 581 | 581 | 17 | 4 | 582 | 582 | 18 | 4 | 1 |
1:3 | 1 | 3 | 3 | 1 | 1 | 618 | 618 | 12 | 2 | 618 | 618 | 12 | 2 | 0 |
1:4 | 1 | 4 | 4 | 1 | 1 | 241 | 241 | 11 | 3 | 242 | 242 | 12 | 3 | 1 |
1:5 | 1 | 5 | 5 | 1 | 1 | 836 | 1,076 | 19 | 4 | 836 | 1,076 | 19 | 4 | 0 |
1:6 | 1 | 6 | 6 | 1 | 1 | 1,072 | 1,282 | 18 | 3 | 1,073 | 1,283 | 19 | 3 | 1 |
1:7 | 1 | 7 | 7 | 1 | 1 | 6,009 | 4,359 | 43 | 9 | 6,010 | 4,360 | 44 | 9 | 1 |
2:1 | 2 | 1 | 8 | 1 | 2 | 71 | 71 | 3 | 1 | 71 | 71 | 3 | 1 | 0 |
2:2 | 2 | 2 | 9 | 1 | 2 | 2,220 | 2,220 | 26 | 7 | 2,221 | 2,221 | 27 | 7 | 1 |
2:3 | 2 | 3 | 10 | 1 | 2 | 3,167 | 3,037 | 46 | 8 | 3,163 | 3,033 | 47 | 8 | 1 |
2:4 | 2 | 4 | 11 | 1 | 2 | 2,640 | 2,640 | 52 | 12 | 2,640 | 2,640 | 52 | 12 | 0 |
2:5 | 2 | 5 | 12 | 1 | 2 | 896 | 896 | 33 | 8 | 896 | 896 | 33 | 8 | 0 |
2:6 | 2 | 6 | 13 | 1 | 3 | 4,468 | 4,708 | 47 | 11 | 4,468 | 4,708 | 47 | 11 | 0 |
2:7 | 2 | 7 | 14 | 1 | 3 | 5,369 | 6,079 | 51 | 12 | 5,371 | 6,081 | 53 | 12 | 2 |
2:8 | 2 | 8 | 15 | 1 | 3 | 1,852 | 2,092 | 48 | 11 | 1,851 | 2,091 | 47 | 11 | -1 |
2:9 | 2 | 9 | 16 | 1 | 3 | 3,440 | 4,380 | 49 | 10 | 3,440 | 4,380 | 49 | 10 | 0 |
2:10 | 2 | 10 | 17 | 1 | 3 | 4,401 | 2,981 | 51 | 12 | 4,401 | 2,981 | 51 | 12 | 0 |
2:11 | 2 | 11 | 18 | 1 | 3 | 3,189 | 2,689 | 43 | 11 | 3,189 | 2,689 | 43 | 11 | 0 |
2:12 | 2 | 12 | 19 | 1 | 3 | 1,217 | 2,157 | 29 | 7 | 1,217 | 2,157 | 29 | 7 | 0 |
2:13 | 2 | 13 | 20 | 1 | 3 | 2,627 | 3,347 | 80 | 19 | 2,624 | 3,344 | 77 | 19 | -3 |
2:14 | 2 | 14 | 21 | 1 | 3 | 4,905 | 5,845 | 74 | 16 | 4,913 | 5,853 | 73 | 16 | -1 |
2:15 | 2 | 15 | 22 | 1 | 3 | 2,095 | 2,235 | 33 | 7 | 2,096 | 2,236 | 34 | 7 | 1 |
2:16 | 2 | 16 | 23 | 1 | 3 | 5,127 | 5,117 | 55 | 11 | 5,129 | 5,119 | 57 | 11 | 2 |
2:17 | 2 | 17 | 24 | 1 | 4 | 7,809 | 7,209 | 71 | 17 | 7,810 | 7,210 | 72 | 17 | 1 |
2:18 | 2 | 18 | 25 | 1 | 4 | 807 | 777 | 19 | 6 | 807 | 777 | 19 | 6 | 0 |
2:19 | 2 | 19 | 26 | 1 | 4 | 5,974 | 6,024 | 83 | 19 | 5,977 | 6,027 | 86 | 19 | 3 |
2:20 | 2 | 20 | 27 | 1 | 4 | 7,408 | 8,878 | 100 | 25 | 7,410 | 8,880 | 102 | 25 | 2 |
2:21 | 2 | 21 | 28 | 1 | 4 | 4,271 | 4,511 | 52 | 11 | 4,272 | 4,512 | 53 | 12 | 1 |
2:22 | 2 | 22 | 29 | 1 | 4 | 7,489 | 7,959 | 97 | 23 | 7,491 | 7,961 | 99 | 23 | 2 |
2:23 | 2 | 23 | 30 | 1 | 4 | 4,241 | 5,151 | 77 | 20 | 4,242 | 5,152 | 78 | 20 | 1 |
2:24 | 2 | 24 | 31 | 1 | 4 | 4,185 | 4,425 | 65 | 13 | 4,186 | 4,426 | 66 | 13 | 1 |
2:25 | 2 | 25 | 32 | 1 | 5 | 10,761 | 12,131 | 139 | 34 | 10,767 | 12,137 | 145 | 34 | 6 |
2:26 | 2 | 26 | 33 | 1 | 5 | 12,666 | 10,306 | 154 | 39 | 12,676 | 10,316 | 155 | 39 | 1 |
2:27 | 2 | 27 | 34 | 1 | 5 | 5,963 | 4,993 | 80 | 20 | 5,965 | 4,995 | 82 | 20 | 2 |
2:28 | 2 | 28 | 35 | 1 | 5 | 5,070 | 5,070 | 58 | 13 | 5,072 | 5,072 | 60 | 13 | 2 |
2:29 | 2 | 29 | 36 | 1 | 5 | 5,429 | 6,619 | 68 | 19 | 5,422 | 6,612 | 70 | 19 | 2 |
2:30 | 2 | 30 | 37 | 1 | 6 | 6,147 | 6,397 | 110 | 28 | 6,148 | 6,398 | 111 | 28 | 1 |
2:31 | 2 | 31 | 38 | 1 | 6 | 3,576 | 3,316 | 68 | 15 | 3,587 | 3,327 | 70 | 15 | 2 |
2:32 | 2 | 32 | 39 | 1 | 6 | 2,006 | 2,246 | 47 | 12 | 2,007 | 2,247 | 48 | 12 | 1 |
2:33 | 2 | 33 | 40 | 1 | 6 | 6,197 | 6,107 | 98 | 22 | 6,200 | 6,110 | 101 | 23 | 3 |
2:34 | 2 | 34 | 41 | 1 | 6 | 2,752 | 3,712 | 61 | 13 | 2,754 | 3,714 | 63 | 13 | 2 |
2:35 | 2 | 35 | 42 | 1 | 6 | 7,279 | 8,719 | 78 | 18 | 7,281 | 8,721 | 80 | 19 | 2 |
2:36 | 2 | 36 | 43 | 1 | 6 | 6,636 | 5,446 | 84 | 19 | 6,638 | 5,448 | 86 | 19 | 2 |
2:37 | 2 | 37 | 44 | 1 | 6 | 2,847 | 2,847 | 43 | 11 | 2,847 | 2,847 | 43 | 11 | 0 |
2:38 | 2 | 38 | 45 | 1 | 7 | 3,024 | 3,024 | 68 | 17 | 3,024 | 3,024 | 68 | 17 | 0 |
2:39 | 2 | 39 | 46 | 1 | 7 | 3,584 | 3,554 | 48 | 10 | 3,587 | 3,557 | 51 | 10 | 3 |
2:40 | 2 | 40 | 47 | 1 | 7 | 3,834 | 4,074 | 66 | 13 | 3,846 | 4,086 | 69 | 14 | 3 |
2:41 | 2 | 41 | 48 | 1 | 7 | 5,170 | 5,840 | 78 | 18 | 5,171 | 5,841 | 79 | 18 | 1 |
2:42 | 2 | 42 | 49 | 1 | 7 | 2,854 | 3,094 | 41 | 8 | 2,855 | 3,095 | 42 | 8 | 1 |
2:43 | 2 | 43 | 50 | 1 | 7 | 1,605 | 1,575 | 41 | 7 | 1,595 | 1,565 | 41 | 7 | 0 |
2:44 | 2 | 44 | 51 | 1 | 7 | 4,502 | 5,222 | 54 | 10 | 4,503 | 5,223 | 55 | 10 | 1 |
2:45 | 2 | 45 | 52 | 1 | 7 | 2,630 | 3,510 | 46 | 8 | 2,626 | 3,506 | 47 | 8 | 1 |
2:46 | 2 | 46 | 53 | 1 | 7 | 2,804 | 2,704 | 37 | 8 | 2,805 | 2,705 | 38 | 8 | 1 |
2:47 | 2 | 47 | 54 | 1 | 7 | 4,822 | 4,352 | 55 | 11 | 4,834 | 4,364 | 58 | 12 | 3 |
2:48 | 2 | 48 | 55 | 1 | 7 | 4,604 | 6,454 | 67 | 19 | 4,615 | 6,465 | 69 | 19 | 2 |
2:49 | 2 | 49 | 56 | 1 | 8 | 6,416 | 7,276 | 84 | 18 | 6,416 | 7,276 | 84 | 18 | 0 |
2:50 | 2 | 50 | 57 | 1 | 8 | 5,594 | 5,394 | 50 | 10 | 5,594 | 5,394 | 50 | 10 | 0 |
2:51 | 2 | 51 | 58 | 1 | 8 | 5,871 | 6,011 | 51 | 12 | 5,873 | 6,013 | 53 | 12 | 2 |
2:52 | 2 | 52 | 59 | 1 | 8 | 3,009 | 3,709 | 30 | 8 | 3,009 | 3,709 | 30 | 8 | 0 |
2:53 | 2 | 53 | 60 | 1 | 8 | 3,262 | 3,502 | 37 | 7 | 3,262 | 3,502 | 37 | 7 | 0 |
2:54 | 2 | 54 | 61 | 1 | 8 | 10,175 | 10,795 | 120 | 26 | 10,176 | 10,796 | 121 | 27 | 1 |
2:55 | 2 | 55 | 62 | 1 | 8 | 6,876 | 6,986 | 58 | 14 | 6,878 | 6,988 | 60 | 15 | 2 |
2:56 | 2 | 56 | 63 | 1 | 8 | 3,060 | 3,760 | 29 | 7 | 3,061 | 3,761 | 30 | 7 | 1 |
2:57 | 2 | 57 | 64 | 1 | 8 | 6,434 | 6,514 | 88 | 18 | 6,436 | 6,516 | 90 | 18 | 2 |
2:58 | 2 | 58 | 65 | 1 | 9 | 8,700 | 9,920 | 93 | 20 | 8,702 | 9,922 | 95 | 20 | 2 |
2:59 | 2 | 59 | 66 | 1 | 9 | 7,145 | 7,325 | 77 | 18 | 7,145 | 7,325 | 77 | 18 | 0 |
2:60 | 2 | 60 | 67 | 1 | 9 | 10,300 | 12,150 | 118 | 28 | 10,300 | 12,150 | 118 | 28 | 0 |
2:61 | 2 | 61 | 68 | 1 | 9 | 21,240 | 19,990 | 252 | 59 | 21,254 | 20,004 | 257 | 60 | 5 |
2:62 | 2 | 62 | 69 | 1 | 10 | 5,647 | 5,557 | 106 | 24 | 5,658 | 5,568 | 108 | 24 | 2 |
2:63 | 2 | 63 | 70 | 1 | 10 | 7,867 | 7,867 | 69 | 15 | 7,868 | 7,868 | 70 | 15 | 1 |
2:64 | 2 | 64 | 71 | 1 | 10 | 5,875 | 5,405 | 53 | 13 | 5,876 | 5,406 | 54 | 13 | 1 |
2:65 | 2 | 65 | 72 | 1 | 10 | 4,174 | 4,654 | 52 | 12 | 4,185 | 4,665 | 54 | 12 | 2 |
2:66 | 2 | 66 | 73 | 1 | 10 | 2,953 | 2,853 | 43 | 9 | 2,955 | 2,855 | 45 | 9 | 2 |
2:67 | 2 | 67 | 74 | 1 | 10 | 6,670 | 6,910 | 82 | 20 | 6,671 | 6,911 | 83 | 20 | 1 |
2:68 | 2 | 68 | 75 | 1 | 10 | 4,743 | 4,033 | 80 | 23 | 4,743 | 4,033 | 80 | 23 | 0 |
2:69 | 2 | 69 | 76 | 1 | 10 | 4,115 | 4,225 | 70 | 18 | 4,116 | 4,226 | 71 | 18 | 1 |
2:70 | 2 | 70 | 77 | 1 | 11 | 2,989 | 4,389 | 61 | 17 | 2,990 | 4,390 | 62 | 17 | 1 |
2:71 | 2 | 71 | 78 | 1 | 11 | 7,499 | 7,969 | 96 | 24 | 7,500 | 7,970 | 97 | 24 | 1 |
2:72 | 2 | 72 | 79 | 1 | 11 | 5,071 | 5,311 | 43 | 10 | 5,073 | 5,313 | 45 | 10 | 2 |
2:73 | 2 | 73 | 80 | 1 | 11 | 5,055 | 3,635 | 56 | 11 | 5,065 | 3,645 | 57 | 11 | 1 |
2:74 | 2 | 74 | 81 | 1 | 11 | 9,649 | 12,129 | 139 | 37 | 9,651 | 12,131 | 141 | 37 | 2 |
2:75 | 2 | 75 | 82 | 1 | 11 | 3,582 | 3,822 | 76 | 19 | 3,583 | 3,823 | 77 | 19 | 1 |
2:76 | 2 | 76 | 83 | 1 | 11 | 8,333 | 6,913 | 103 | 23 | 8,331 | 6,911 | 101 | 23 | -2 |
2:77 | 2 | 77 | 84 | 1 | 12 | 1,141 | 1,381 | 36 | 9 | 1,141 | 1,381 | 36 | 9 | 0 |
2:78 | 2 | 78 | 85 | 1 | 12 | 2,222 | 2,122 | 44 | 11 | 2,223 | 2,123 | 45 | 11 | 1 |
2:79 | 2 | 79 | 86 | 1 | 12 | 6,933 | 7,873 | 101 | 24 | 6,934 | 7,874 | 102 | 24 | 1 |
2:80 | 2 | 80 | 87 | 1 | 12 | 6,319 | 6,559 | 91 | 23 | 6,319 | 6,559 | 91 | 23 | 0 |
2:81 | 2 | 81 | 88 | 1 | 12 | 3,115 | 3,565 | 50 | 13 | 3,128 | 3,578 | 54 | 13 | 4 |
2:82 | 2 | 82 | 89 | 1 | 12 | 2,696 | 2,636 | 49 | 10 | 2,699 | 2,639 | 52 | 10 | 3 |
2:83 | 2 | 83 | 90 | 1 | 12 | 10,458 | 10,918 | 146 | 29 | 10,461 | 10,921 | 150 | 29 | 4 |
2:84 | 2 | 84 | 91 | 1 | 13 | 8,176 | 9,356 | 69 | 15 | 8,178 | 9,358 | 71 | 15 | 2 |
2:85 | 2 | 85 | 92 | 1 | 13 | 18,992 | 18,552 | 223 | 49 | 18,995 | 18,555 | 231 | 49 | 8 |
2:86 | 2 | 86 | 93 | 1 | 13 | 5,099 | 5,769 | 63 | 13 | 5,094 | 5,764 | 63 | 13 | 0 |
2:87 | 2 | 87 | 94 | 1 | 13 | 9,273 | 10,953 | 137 | 28 | 9,274 | 10,954 | 138 | 28 | 1 |
2:88 | 2 | 88 | 95 | 1 | 13 | 2,537 | 2,437 | 46 | 10 | 2,537 | 2,437 | 46 | 10 | 0 |
2:89 | 2 | 89 | 96 | 1 | 14 | 5,532 | 5,742 | 106 | 26 | 5,534 | 5,744 | 108 | 26 | 2 |
2:90 | 2 | 90 | 97 | 1 | 14 | 9,855 | 9,305 | 105 | 27 | 9,857 | 9,307 | 107 | 27 | 2 |
2:91 | 2 | 91 | 98 | 1 | 14 | 5,416 | 5,386 | 120 | 30 | 5,415 | 5,385 | 119 | 30 | -1 |
2:92 | 2 | 92 | 99 | 1 | 14 | 5,325 | 5,465 | 49 | 11 | 5,327 | 5,467 | 51 | 11 | 2 |
2:93 | 2 | 93 | 100 | 1 | 14 | 9,170 | 10,560 | 129 | 27 | 9,172 | 10,562 | 131 | 27 | 2 |
QuranLab — Iʿjāz, Letter Structure and Abjad Reckoning
QuranLab is a volunteer effort. Our aim is to present these works carefully and at high quality, and to help them travel faithfully — in the spirit in which they were written — not to claim them as ours.
The text these numbers are counted from reaches you through the work of the Tanzil Project. Who to thank, and what we consulted without ever quoting, is set out in SOURCES.md.
What this is
The Qurʾānic sciences have always counted. Scribes counted āyāt to settle where a juzʾ begins, reciters counted letters to fix a qirāʾa, and scholars from al-Bāqillānī onward argued about what in the text cannot be imitated. This dataset carries the counting part of that inheritance, done carefully and in the open, over the same 6,236-āya backbone as every other QuranLab corpus.
It publishes arithmetic, not conclusions. Every row here was computed from the published text and can be recomputed by you. What a number means — whether it is remarkable, whether it points to anything — is a separate question this dataset does not answer on your behalf.
The one thing worth knowing before you use it
There is no such thing as "the number of letters in the Qurʾān."
Not because the question is improper, but because it is underspecified. Three choices have to be fixed before any count exists, and each is a real scholarly tradition rather than a matter of taste:
| Choice | The options | Why it moves the number |
|---|---|---|
| Orthography | Uthmānī rasm · imlāʾī | The rasm writes ٱ and the superscript ٰ where modern spelling writes a plain ا |
| Ordering | mashriqī (eastern) · maghribī (western) | ṣād is 90 in one and 60 in the other; shīn is 300 against 1000 |
| Convention | five documented ones | Whether ة counts as hāʾ (5) or tāʾ (400), whether ى is yāʾ (10) or alif (1) |
Counted honestly, the whole Qurʾān has between 325,386 and 337,326 letters in the Uthmānī rasm and exactly 330,709 in imlāʾī spelling — the rasm figure moving with the convention you apply, the imlāʾī one steady because modern orthography has no superscript letters to make a ruling about. Every one of those totals is correct. None of them is the total.
The conventions config puts all ten side by side in ten rows. If you have ever
met a claim of the form "the Qurʾān contains exactly N of letter X," that table
is the first thing to check it against — and it is why we built this before
building anything that interprets.
Configurations
| Config | Rows | What it answers |
|---|---|---|
verse-abjad |
6,236 | Abjad totals and letter counts per āya, in both orderings and both scripts. |
verse-letters-uthmani |
6,236 | Per-āya count of each of the 28 letters in the Uthmānī rasm. |
verse-letters-imlaei |
6,236 | Per-āya count of each of the 28 letters in the imlāʾī orthography. |
lafz-al-jalala |
6,236 | Per-āya count of ٱللَّه under each counting rule, and what a text search misses. |
surah-structure |
114 | Per-sūra āya/word/letter/abjad totals, revelation order, page and juzʾ span. |
page-structure |
604 | Per-page totals across the 604-page muṣḥaf, including the lafẓ al-jalāla. |
divine-names |
9 | Corpus-wide count of each divine name, by QAC lemma and by written form. |
muqattaat |
156 | Each disconnected opening letter against its frequency in its own sūra. |
letter-frequency |
56 | Corpus-wide frequency and rank of each letter, in both scripts. |
conventions |
10 | What the whole-Qurʾān totals become under each documented convention. |
verifiable-qa |
5,176 | Questions whose answers can be rechecked against the rows they came from. |
chapters |
1,765 | A table of contents across all nine works, with the subject each title announces. |
verse-coverage |
6,236 | Per āya: how many of the classical works quote it, and which. |
citations |
19,275 | Every Qurʾānic quotation in the classical works, linked to its āyāt. |
work-baqillani-ijaz-ar |
2,332 | Iʿjāz al-Qurʾān — Abū Bakr al-Bāqillānī (d. 403 AH), by paragraph. |
work-khattabi-bayan-ar |
236 | Bayān iʿjāz al-Qurʾān — Abū Sulaymān al-Khaṭṭābī (d. 388 AH), by paragraph. |
work-jurjani-dalail-ar |
1,924 | Dalāʾil al-iʿjāz — ʿAbd al-Qāhir al-Jurjānī (d. 471 AH), by paragraph. |
work-jurjani-asrar-ar |
1,673 | Asrār al-balāgha — ʿAbd al-Qāhir al-Jurjānī (d. 471 AH), by paragraph. |
work-zarkashi-burhan-ar |
10,395 | al-Burhān fī ʿulūm al-Qurʾān — Badr al-Dīn al-Zarkashī (d. 794 AH), by paragraph. |
work-suyuti-itqan-ar |
10,097 | al-Itqān fī ʿulūm al-Qurʾān — Jalāl al-Dīn al-Suyūṭī (d. 911 AH), by paragraph. |
work-ibntaymiyya-muqaddima-ar |
174 | Muqaddima fī uṣūl al-tafsīr — Ibn Taymiyya (d. 728 AH), by paragraph. |
work-ibnkhaldun-muqaddima-ar |
686 | al-Muqaddima — Ibn Khaldūn (d. 808 AH), by paragraph. |
work-baqillani-tamhid-ar |
2,384 | Tamhīd al-awāʾil wa-talkhīṣ al-dalāʾil — Abū Bakr al-Bāqillānī (d. 403 AH), by paragraph. |
Reading the muqaṭṭaʿāt table
Twenty-nine sūras open with disconnected letters — الم, يس, ق, ن and the rest. A classical observation, recorded by al-Zarkashī among others, is that these letters run unusually frequent inside the very sūra they open.
The muqattaat config lets you check that rather than repeat it. Each row gives
one opening letter's share of its own sūra against its share of the whole
Qurʾān, as frequency_ratio. Above 1.0 means over-represented. Some openings
bear the observation out strikingly; others do not. Both kinds of row are
published, because a table that only showed the confirming cases would not be a
table, it would be an argument.
Counting ٱللَّه
The same lesson arrives a second time, and more sharply, in the one quantity the numerical literature leans on hardest.
Counted by lemma — the way the Quranic Arabic Corpus segments the text — the lafẓ al-jalāla occurs 2,699 times. That is the figure the tradition carries. Counted by searching the text for الله, it occurs 2,555 times. The difference is not rounding:
- 151 occurrences are missed. In 149 of them the alif elides after a prefixed lām and the lafẓ is written له — لِلَّهِ. The remaining two are at 10:59 and 27:59, where an interrogative hamza makes it آلله.
- 7 are added that are not the name at all. Five are ٱللَّهُمَّ, the vocative. The other two are ٱللَّهْو — the diversion, at 62:11 — and ٱللَّهَب — the flame, at 77:31. Ordinary nouns that happen to begin with the same four letters.
The two errors are counted in separate columns, never netted. At 10:10 a real lafẓ written له sits beside ٱللَّهُمَّ: one miss and one false positive, in the same āya, cancelling to a difference of zero. Reporting only the difference would show that verse as correctly counted when both of its figures are wrong.
Every divine name in the divine-names config behaves this way, and the table
gives both figures with the gap in a column of its own. رب is the extreme case:
977 by lemma against 1,241 by search, because رب is a substring of much else.
This is why the counting method is a published column here and not an implementation detail. A numerical argument assembled with a text search is wrong in both directions before it begins.
Tevafuk, and what this dataset can and cannot say about it
Tevafuk — the observed correspondence in how occurrences of ٱللَّه fall on the page — is associated above all with Said Nursi, who wrote about it at length and had a muṣḥaf typeset to display it. Naming a claim and its author is what this dataset does; it is not the same as reproducing his text, which is a separate question governed by its own permissions.
What we publish is the substrate, computed and checkable: the count of the lafẓ
per āya (lafz-al-jalala) and per page (page-structure), across all
604 pages.
What we do not publish is a verdict on the alignment, and the reason is concrete rather than diplomatic. Tevafuk is a property of a particular typesetting — the 15-line tevafuklu muṣḥaf. Our backbone paginates by the 604-page Madinah printing. Counts transfer between the two; positions on the page do not. Testing the alignment needs the line-level layout of the muṣḥaf the claim is actually made about, and until that is sourced, anything we said about it would be about the wrong book.
So: the counts are here and they are ours to stand behind. The alignment is named, attributed, and left open.
Why letter_delta is on every āya
verse-abjad carries the per-āya difference between the imlāʾī and Uthmānī
letter counts. For most āyāt it is small. Where it is large, the āya is one whose
rasm spelling diverges sharply from modern orthography — and it is exactly those
āyāt that make or break a numerical claim, depending on which text its author
happened to use. Publishing the gap per row means nobody has to take our word for
how big it is.
For agents and pipelines
Deterministic facts an automated consumer needs, so nothing has to be inferred from a sample.
- Config naming:
<grain>-<subject>; verse-grain configs carry the 6,236-āya backbone - Join key:
verse_key(surah:ayah), identical to every other QuranLab corpus - Default config:
verse-abjad - Format: Parquet, one directory per config, split
train. - Terms and credit are per config in
metadata/, never per row — join on the config name when you need them. - Every row in this repo is
claim_status = computed: arithmetic over the published text, not a report of what anyone said about it.
- Every row in this repo is
- A number is only defined once you fix an orthography and an ordering and a convention.
conventionsis the table that shows why.
- A number is only defined once you fix an orthography and an ordering and a convention.
Inspect it without downloading the data:
# every config and split
curl https://datasets-server.huggingface.co/splits?dataset=quranlab/quran-ijaz
# a first page of rows
curl "https://datasets-server.huggingface.co/first-rows?dataset=quranlab/quran-ijaz&config=verse-abjad&split=train"
# machine-readable schema and provenance (Croissant JSON-LD)
curl https://huggingface.co/api/datasets/quranlab/quran-ijaz/croissant
Query it in place with SQL — no full download:
hf datasets sql quranlab/quran-ijaz "SELECT * FROM 'verse-abjad' LIMIT 5"
import duckdb
duckdb.sql("SELECT count(*) FROM 'hf://datasets/quranlab/quran-ijaz/verse-abjad/*.parquet'")
Quality, and how to check it yourself
Nothing is released until the integrity gate passes. Every claim below is something you can re-run rather than take on trust — here on the published data, not in our build tree:
| What is guaranteed | Evidence |
|---|---|
6,236 āyas, 114 sūras, on the shared verse_key backbone |
verse-abjad row count and a join against quranlab/quran |
| Abjad tables reproduce the classical anchors | الله = 66, محمد = 92, the basmala = 786 (mashriqī, standard) |
| Both orderings cover the same 28 letters | metadata/abjad_values.csv; the six that diverge are marked |
| No letter count is presented as the letter count | conventions publishes all ten totals side by side |
| The lafẓ al-jalāla reproduces the classical 2,699 | lafz-al-jalala, counted by QAC lemma; the text-search figure is published beside it, not instead of it |
import pandas as pd
c = pd.read_parquet("hf://datasets/quranlab/quran-ijaz/conventions/train-00000-of-00001.parquet")
print(c[["convention", "script", "n_letters", "abjad_mashriqi"]]) # ten different right answers
Where a source is genuinely missing, the row is published empty and labelled rather than filled by guessing from a neighbouring entry. Coverage numbers in this card count only real content.
The works themselves
The counting above is ours. This part is not: it is the Sunni literature on what is inimitable about the Qurʾān, carried paragraph by paragraph with each author's name on it.
| Work | Author | Died | Passages |
|---|---|---|---|
| Iʿjāz al-Qurʾān | Abū Bakr al-Bāqillānī | 403 AH | 2,332 |
| Bayān iʿjāz al-Qurʾān | Abū Sulaymān al-Khaṭṭābī | 388 AH | 236 |
| Dalāʾil al-iʿjāz | ʿAbd al-Qāhir al-Jurjānī | 471 AH | 1,924 |
| Asrār al-balāgha | ʿAbd al-Qāhir al-Jurjānī | 471 AH | 1,673 |
| al-Burhān fī ʿulūm al-Qurʾān | Badr al-Dīn al-Zarkashī | 794 AH | 10,395 |
| al-Itqān fī ʿulūm al-Qurʾān | Jalāl al-Dīn al-Suyūṭī | 911 AH | 10,097 |
| Muqaddima fī uṣūl al-tafsīr | Ibn Taymiyya | 728 AH | 174 |
| al-Muqaddima | Ibn Khaldūn | 808 AH | 686 |
| Tamhīd al-awāʾil wa-talkhīṣ al-dalāʾil | Abū Bakr al-Bāqillānī | 403 AH | 2,384 |
Every one passes the same theology gate as the rest of QuranLab, and the
classification that let it in is recorded per work in metadata/works.csv
rather than assumed. They are also in conversation with each other: al-Suyūṭī's
chapter on iʿjāz opens by naming who wrote monographs on it — al-Khaṭṭābī,
al-Rummānī, al-Rāzī, and al-Qāḍī Abū Bakr al-Bāqillānī — and three of those
four are in the table above.
The fourth, and why he is not here
al-Rummānī's al-Nukat fī iʿjāz al-Qurʾān is one of the three founding treatises of this literature and has been quoted with approval by Sunni authors ever since. It is available, it is short, and it is not in this dataset: Abū al-Ḥasan al-Rummānī was a Muʿtazilī theologian of the Baghdad school, and the corpus admits Ahl al-Sunnah works without exception.
Applying the rule to a book we wanted is the only thing that makes it a rule.
The exclusion is recorded, with its reason, in metadata/excluded_works.csv
rather than left as a silent absence.
Markers kept inside the text
The digitisations carry a few marks inside a paragraph that look like noise and
are not. They are kept, and metadata/markup.csv says what each one means:
%separates the two hemistichs of a line of verse. al-Bāqillānī quotes a great deal of poetry, because setting the finest Arabic verse beside the Qurʾān is his argument — collapsing the hemistichs would flatten it./ < … > /marks a variant Qurʾānic reading, where a work is discussing the seven aḥruf rather than quoting the Ḥafṣ text.& … &encloses a heading or technical term set off inside the text, and( … )the printed edition's own brackets.
What was stripped is genuine markup: page and milestone markers, and — caught
by the integrity gate rather than by eye — eleven al-Zarkashī passages carrying
an unclosed @ 263 page remnant that would have published as though he had
written it.
Finding your way in
Nine works come to thirty thousand paragraphs, and without an index the abjad
discussion inside al-Zarkashī is reachable only by grep. chapters is a table of
contents across all of them — 1,765 chapters, each with the title its own
author gave it, its size, and its page in the printed edition.
117 of those titles announce a subject, and those carry topic keys:
ijaz, balagha, qiraat, muqattaat, abjad-huruf, naskh and the rest.
The classification is ours rather than the authors', so it is published with its
rules — metadata/topics.csv lists the exact Arabic each key matched on, and you
can disagree with it. Matching is against titles only, never body text: a
title is the author saying what the chapter is about, while a word in a paragraph
means only that the word occurs there.
The other chapters are titled faṣl and nothing more, and they get no topic rather than a guessed one.
verse-coverage runs the other way, from the muṣḥaf inward: 3,848 of the
6,236 āyāt are quoted by at least one of these works. The 2,388 that are
not are published as rows of zeroes, because an absence is a fact about the
literature and dropping the row would hide it.
Linking them to the muṣḥaf
OpenITI tags Qurʾānic quotations in these texts explicitly, which is far better
than guessing at where a scholar stopped quoting and resumed arguing. There are
19,275 of them, and the citations config carries every one, matched
against our own text and linked to the āyāt it covers.
- 14,764 resolve to a single place — 77% — and 890 of those span more than one āya, because scholars quote passages rather than verses. حم تنزيل الكتاب is 40:1–2 and was a failure until the matching worked in ranges.
- 1,943 occur in several places and are published with their match count and no verse key.
- 88 were searched and not found, and 2,480 are too short to search. They stay unresolved. A quotation from memory, an elision, or a reading other than Ḥafṣ is a real thing to record; attaching it to the nearest plausible āya would be inventing an attribution.
match_status says which of those a row is, so nothing rests on a link that was
never made. As a sanity check on the whole exercise, the most-cited āya across
all four works is 3:7 — the verse on the clear and the ambiguous, which is
where any discussion of interpreting the Qurʾān begins.
Questions you can mark
Qurʾānic numerology is the subject a language model is most likely to be
confidently wrong about. It is also, unusually, a subject where being right is
decidable — so verifiable-qa carries 5,176 questions whose answers
are checkable by recomputation rather than by judgement.
Every answer names the row it came from, in source_config and source_key, so
it can be rechecked against this repository without trusting whatever produced
it. The build gate re-derives all 5,171 answerable ones from their own
sources and refuses to publish on a single mismatch.
The remaining handful are the reason the rest of the dataset exists. Asked how
many letters are in the Qurʾān, the right answer is not a number — it is
"which orthography, which convention". Those items carry
answer_type = clarification-required. A question set made only of the
answerable ones would train exactly the overconfidence this repository was built
to correct.
Scope, and what is not here
Two layers are complete: the computed one, arithmetic anyone can re-run, and the attributed one, somebody else's sentence with their name on it. Three things are deliberately absent, and it is more useful to say why than to leave them looking forthcoming.
- Tevafuk's alignment. Checked and blocked. It is a property of the 15-line tevafuklu muṣḥaf; the twelve layouts published by QUL include several 15-line typesettings, none of them that book. A different 15-line muṣḥaf would answer a question about the wrong object. The counts are here; the alignment waits for the layout.
- The abjad tradition in practice — chronograms, inscriptions, manuscript
dating. Its criticism is here and now findable:
chaptersindexes Ibn Khaldūn's fifty-third chapter, on apocalyptic prediction and on what the word jafr actually refers to, underabjad-huruf. He traces letter-divination to its origin and takes it apart — the classical objection arriving from inside the tradition rather than from outside it. The practice would need a corpus of dated chronograms we do not have on terms that allow republication. - Scientific iʿjāz. Not excluded on principle — every claim in it would need a named proponent and a citable text, and no corpus meeting that standard is available to us. Publishing the claims without the names is the one thing this repository does not do.
Nothing here will ever assert a number, or what a number means, without saying whose assertion it is.
Terms
Terms differ by config and each one states its own in metadata/configs.csv.
In short: our computation is CC BY 4.0 over Tanzil's text (CC BY 3.0); the
classical works come from the OpenITI release under CC BY-NC-SA 4.0, so reuse of
those configs must stay non-commercial and keep the same licence. Full detail,
and how to ask for a correction or a removal, is in
LICENSES.md and SOURCES.md.
Citation
@misc{quranlab_quran_ijaz_2026,
title = {QuranLab — Qur'anic Iʿjāz, Letter Structure and Abjad Reckoning},
author = {QuranLab},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/quranlab/quran-ijaz}}
}
QuranLab is volunteer work, and help is genuinely welcome — an error found, a convention we have documented poorly, a classical source we should be counting against. The Community tab is the place.
- Downloads last month
- -