Nepali date & time
NepaliDateTime is a Bikram Sambat DateTime. It converts AD ↔ BS, handles local, UTC and Nepal Time, and supports 1969–2250 BS.
Read the guide →

Nepali date & time
NepaliDateTime is a Bikram Sambat DateTime. It converts AD ↔ BS, handles local, UTC and Nepal Time, and supports 1969–2250 BS.
Read the guide →
Date formatting
NepaliDateFormat uses intl’s DateFormat patterns and skeletons, with English or Nepali names and digits.
Read the guide →
Number formatting
Lakh/crore grouping, currency, percent, compact (12.3L), numbers in words, and parsing of Devanagari digits.
Read the guide →
Relative time
NepaliMoment gives text like 3 days ago / ३ दिन पहिले, calendar text like Yesterday at 9:04 PM, and durations.
Read the guide →
Nepali Unicode
Converts romanized text to Devanagari and back, in classic, Google Input Tools or MPP keyboard styles, as the user types. Read the guide →
Preeti & Devanagari
Converts legacy Preeti text to Unicode and back. Also detects Devanagari, converts digits and splits text into aksharas. Read the guide →
Measurement units
Ropani-aana-paisa-daam, bigha-kattha-dhur, tola-lal, dharni-ser and muri-pathi-mana, converted to and from metric. Read the guide →
Phone numbers
Validates, formats and finds Nepali mobile and landline numbers. Shows the operator (Nepal Telecom, Ncell…) or the district. Read the guide →
dart pub add nepali_utilsimport 'package:nepali_utils/nepali_utils.dart';Requires Dart 3.13 or later. See Installation for Flutter.
import 'package:nepali_utils/nepali_utils.dart';
void main() { // AD → BS, and formatting in Nepali. final date = DateTime(2019, 8, 3, 14, 30, 15).toNepaliDateTime(); print(date); // 2076-04-18 14:30:15.000 print(NepaliDateFormat.yMMMMEEEEd(.nepali).format(date)); // २०७६ श्रावण १८, शनिबार
// Lakh/crore grouping and numbers in words. print(NepaliNumberFormat.decimalPattern().format(123456789.6548)); // 12,34,56,789.655 print(NepaliNumberFormat.words().format(123456)); // one lakh twenty-three thousand four hundred fifty-six
// Romanized text → Devanagari. print(const NepaliUnicode().convert('mero naam {Sarbagya} ho')); // मेरो नाम Sarbagya हो
// Phone numbers. final phone = NepaliPhoneNumber.parse('+977 ९८४१२३४५६७'); print('${phone.format()} (${phone.operator?.label()})'); // 984-1234567 (Nepal Telecom)}