Persian normalizer
NPM Package

Easy Persian Text Normalizer | An Ultra-Fast Persian Text Normalization Library | Mohammad Hossein Karami

A fast, dependency-free JavaScript/TypeScript library for normalizing Persian text

Screenshots and app preview

1 images
Persian normalizer - main image

Key features and capabilities

8 features
✓Unifies Arabic yeh and kaf with their Persian forms
✓Removes unwanted diacritics and tashdid
✓Standardizes ZWNJ, tatweel, and invisible Unicode characters
✓Bidirectional conversion between English, Arabic, and Persian digits
✓Zero dependencies
✓ESM and CJS output
✓TypeScript types
✓Compatible with Node.js and browsers

About Persian normalizer

🛡️ Security guaranteed • 👤 Mohammad Hossein Karami

Easy Persian Text Normalizer is a fast, lightweight, zero-dependency tool for standardizing Persian text in Node.js, browsers, and web frameworks. Written in the spirit of Domain-Driven Design and Clean Code, it corrects inconsistent letters, Arabic and English digits, and non-standard spacing and zero-width non-joiner (ZWNJ) usage.