Meant to be used in the browser, but can also be used in server-side environments for things such as generating PDF files. This script mainly converts characters in the Arabic block to Arabic ...
Try it now — load your own PDF or use the sample: ...