Convert digits between Western, Arabic-Indic and Persian numerals
Paste a text or a subtitle file and switch its digits between Western (0-9), Arabic-Indic (٠-٩) and Persian or Urdu (۰-۹) forms. In an SRT or VTT file the timing lines and cue numbers are not touched, so the file still works. Nothing is uploaded.
Loading the tool…
Processed in your browser. Your file is never uploaded.
What it changes
Every digit in the text is switched to the set you choose. A digit in any of the three forms is recognised, so a text
that mixes 12 and ١٢ comes out consistent. Letters, punctuation and everything else are left
exactly as they were. The option for separators also turns the decimal point and the thousands comma between digits into the
Arabic forms (٫ and ٬) or back again.
Before: The meeting is on 12 March 2026 at room 5. The budget is 1,250.50.
After: The meeting is on ١٢ March ٢٠٢٦ at room ٥. The budget is ١٬٢٥٠٫٥٠. (Arabic-Indic, with separators)
Subtitle files
If the text contains --> it is treated as an SRT or VTT file. The timing lines, the cue numbers and the
WEBVTT header are copied unchanged and only the words of each cue are converted, so the result is still a valid
subtitle file. If your player or platform shows Arabic-Indic digits in the cue text, this is how you get there without
retyping. The related tools fix Arabic SRT punctuation and
subtitle editor cover the other usual clean-ups.
The three digit sets
- Western (0-9), the digits of the Latin script, used in Arabic text in many places.
- Arabic-Indic (٠-٩), Unicode U+0660 to U+0669, the digits written in Arabic script.
- Persian and Urdu (۰-۹), Unicode U+06F0 to U+06F9. They match the Arabic-Indic set except 4, 5 and 6.
A consistent file
The usual problem is not which set to use but a file that uses both: part of it typed by hand in one style, part pasted from a transcript in another, or numbers in the cue text and in an on-screen graphic that do not match. Run the whole text through one setting and the digits become the same everywhere. Then read the file once in a player, because digits in the middle of Arabic sentences are one of the places where the order of right-to-left and left-to-right text can look wrong, and that is something only your eyes can check.
What it does not do
It converts digits only. It does not write numbers out in words, convert dates between calendars or change units. A number spelled in words (“twelve”, “اثنا عشر”) is left alone. It cannot tell a digit that is part of a phone number or a code from one in a sentence, so check the result if your text has either. If the text came from speech recognition, which may write numbers as digits or as words, convert it here to make the digits consistent, then read it against the audio. For Arabic transcripts, the Arabic transcription page says what to expect.
Questions
Which digits should Arabic subtitles use?
Both are in use, and the choice is a matter of style: a publisher, a platform or a country may prefer the Western digits (0-9) or the Arabic-Indic ones (٠-٩). Follow the style guide of whoever will publish the subtitles. This tool changes the digits; it does not decide which are right for you.
Why are the timing lines left alone?
SRT and VTT timing lines are written with ordinary digits and players expect them, so changing 00:00:01,000 into Arabic-Indic digits would break the file. Cue numbers are left alone for the same reason. Only the text of each cue is converted.
What is the difference between Arabic-Indic and Persian digits?
They are two Unicode blocks (U+0660 to U+0669 and U+06F0 to U+06F9). Most of the ten digits look the same, but 4, 5 and 6 are drawn differently in Persian and Urdu (۴ ۵ ۶ against ٤ ٥ ٦). Use the Persian set for Persian and Urdu text.
Is my text uploaded?
No. The digits are switched by JavaScript in this tab, and neither the text nor a file you choose is sent anywhere. The page only reports that the tool was used, with no text and no file name.
Related tools
- Remove Arabic Diacritics Strip tashkeel and tidy Arabic text: diacritics, tatweel, letter forms, digits and punctuation.
- Fix Arabic SRT Punctuation Add right-to-left marks to Arabic subtitles so punctuation and mixed lines display correctly.
- SRT to Text Strip numbers and timestamps from SRT or VTT to get plain text.
- Subtitle Editor Edit subtitle text and timing cue by cue, split and merge, then save as SRT or VTT.
Need an Arabic transcript?
TryScriptorium transcribes Arabic audio and video you upload, with timestamps, and exports TXT, SRT, VTT, Markdown, JSON or CSV. You can try it free.