Title: Number to Bangla
Author: Md. Rakibul Islam
Published: <strong>फ़रवरी 25, 2021</strong>
Last modified: जुलाई 16, 2026

---

Search plugins

![](https://ps.w.org/number-to-bangla/assets/banner-772x250.png?rev=3588249)

![](https://ps.w.org/number-to-bangla/assets/icon-256x256.png?rev=3588249)

# Number to Bangla

 [Md. Rakibul Islam](https://profiles.wordpress.org/rkb007/) लिखले बारे

[डाउनलोड](https://downloads.wordpress.org/plugin/number-to-bangla.2.1.0.zip)

 * [Details](https://bho.wordpress.org/plugins/number-to-bangla/#description)
 * [समीक्षा](https://bho.wordpress.org/plugins/number-to-bangla/#reviews)
 *  [Installation](https://bho.wordpress.org/plugins/number-to-bangla/#installation)
 * [Development](https://bho.wordpress.org/plugins/number-to-bangla/#developers)

 [मदद](https://wordpress.org/support/plugin/number-to-bangla/)

## बिबरन

Number to Bangla converts English numbers into Bangla in many formats. Use it with
the `[ntb_num]` shortcode, the “Number to Bangla” and “Bangla Clock” Gutenberg blocks,
the REST API (including batch conversion), an Elementor dynamic tag, the `wp ntb
convert` WP-CLI command, or directly from your theme with template helper functions.

Supported formats:

 * **number** — English digits to Bangla digits (`111`  `১১১`)
 * **word** — Bangla words, with decimals and negatives (`1345.05`  `এক হাজার তিন
   শত পঁয়তাল্লিশ দশমিক শূন্য পাঁচ`)
 * **money** — Taka/Poisha words (`1345.50`  `এক হাজার তিন শত পঁয়তাল্লিশ টাকা পঞ্চাশ
   পয়সা`)
 * **comma** — lakh-grouped commas (`121212121`  `১২,১২,১২,১২১`)
 * **percentage** — `75`  `৭৫ শতাংশ` (add `words="true"` for spelled-out)
 * **month** — Gregorian month name (`12`  `ডিসেম্বর`)
 * **bengali-month** — Bengali calendar month (`1`  `বৈশাখ`)
 * **bengali-date** — full reformed Bangla calendar date (`2024-04-14`  `১ বৈশাখ,
   ১৪৩১`)
 * **season** — Bengali season (`1`  `গ্রীষ্ম`)
 * **day** — weekday from number or English name (`monday`  `সোমবার`)
 * **date** — formatted Bangla date (`2024-01-15`  `১৫ জানুয়ারি, ২০২৪`)
 * **week** — ISO week number in Bangla digits (`2024-01-01`  `১`)
 * **time** — clock or spoken time (`14:30`  `১৪:৩০`, or words  `দুপুর দুইটা ত্রিশ
   মিনিট`)
 * **duration** — seconds to Bangla (`3665`  `১ ঘণ্টা ১ মিনিট ৫ সেকেন্ড`)
 * **age** — age from a birth date (`1990-01-15`  `৩৫ বছর …`)
 * **ordinal** — Bangla ordinals (`1`  `১ম`, `25`  `২৫তম`)
 * **parse** — reverse: Bangla digits to English (`১২৩৪৫`  `12345`)

### Usage

Shortcode:

    ```
    [ntb_num value="111" format="word"] → `এক শত এগারো`
    ```

Optional attributes: `prefix`, `suffix`, `words` (for percentage/time), `date_format`(
for date), `as_of` (for age).

    ```
    [ntb_num value="2024-01-15" format="date" date_format="d/m/Y"] → `১৫/০১/২০২৪`
    [ntb_num value="123" format="ordinal" prefix="অবস্থান: "] → `অবস্থান: ১২৩তম`
    ```

Blocks:
 Add the “Number to Bangla” block in the editor and choose a value and format.
Output is rendered live. The “Bangla Clock” block shows a live-ticking clock in 
Bangla digits (optionally with seconds).

REST API:
 GET /wp-json/ntb/v1/convert?value=1345.50&format=money

Convert several values in one request with the batch endpoint (max 100 items):

    ```
    POST /wp-json/ntb/v1/batch
    {"items":[{"value":"111","format":"word"},{"value":"2024-01-15","format":"bengali-date"}]}
    ```

WP-CLI:
 wp ntb convert 111 –format=word wp ntb convert 2024-01-15 –format=bengali-
date

Elementor:
 When Elementor is active, a “Number to Bangla” dynamic tag is available
under the Text category for any text field.

Template helpers (PHP):
 ntb_to_word( 111 ), `ntb_to_number( 111 )`, `ntb_to_money(
1345.50 )`, `ntb_to_date( '2024-01-15' )`, `ntb_to_bengali_date( '2024-01-15' )`,`
ntb_week_number( '2024-01-15' )`, `ntb_ordinal( 25 )`, and the generic `ntb_convert(
$value, $format, $args )`.

Developers can filter output via the `ntb_convert_output` filter.

## Screenshots

[⌊All conversion formats rendered on the front-end with the [ntb_num] shortcode.⌉⌊
All conversion formats rendered on the front-end with the [ntb_num] shortcode.⌉[

All conversion formats rendered on the front-end with the `[ntb_num]` shortcode.

[⌊The "Number to Bangla" block in the editor — value, format, prefix and suffix 
with a live preview.⌉⌊The "Number to Bangla" block in the editor — value, format,
prefix and suffix with a live preview.⌉[

The “Number to Bangla” block in the editor — value, format, prefix and suffix with
a live preview.

[⌊Inserting the "Number to Bangla" block from the block inserter.⌉⌊Inserting the"
Number to Bangla" block from the block inserter.⌉[

Inserting the “Number to Bangla” block from the block inserter.

## Blocks

This plugin provides 2 blocks.

 *   Bangla Clock A live-updating clock showing the current time in Bangla digits.
 *   Number to Bangla Convert English numbers to Bangla digits, words, money, dates,
   months, seasons, ordinals and more.

## Installation

INSTALLATION FROM WITHIN WORDPRESS – Visit Plugins > Add New. – Search for “Number
to Bangla”. – Install and activate “Number to Bangla”.

MANUAL INSTALLATION – Upload the entire “number-to-bangla” folder to the /wp-content/
plugins/ directory. – Visit Plugins. – Activate “Number to Bangla” plugin.

## समीक्षा

![](https://secure.gravatar.com/avatar/a411809190b8f5a7c0002bd9868222945ddc7f22012c59de3a2e4dd0833aa114?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-2811/)󠁿

 [Arthemic](https://profiles.wordpress.org/arthemic/) सितम्बर 14, 2021

Very useful plugin

![](https://secure.gravatar.com/avatar/750d0b72e66f1364641e8ae916c8918f9f66d9c724457ccf17b76fcb835b0d82?
s=60&d=retro&r=g)

### 󠀁[Thank You for This](https://wordpress.org/support/topic/thank-you-for-this-28/)󠁿

 [shafiun](https://profiles.wordpress.org/shafiun/) मई 21, 2021

This plugin was sorely needed. Does exactly what it say. Thanks to Plugin Developer.

![](https://secure.gravatar.com/avatar/faae1a6bad6bea813cb7354dd785a9952f29a60878b408d265d53f96516c08d6?
s=60&d=retro&r=g)

### 󠀁[Appreciable](https://wordpress.org/support/topic/appreciable-2/)󠁿

 [Md Ruman Hossain](https://profiles.wordpress.org/rumanhossain/) मार्च 4, 2021

Thank you for such a great work. I was looking for this.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/number-to-bangla/reviews/)

## Contributors & Developers

“Number to Bangla” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Md. Rakibul Islam ](https://profiles.wordpress.org/rkb007/)

[Translate “Number to Bangla” into your language.](https://translate.wordpress.org/projects/wp-plugins/number-to-bangla)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/number-to-bangla/),
check out the [SVN repository](https://plugins.svn.wordpress.org/number-to-bangla/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/number-to-bangla/)
by [RSS](https://plugins.trac.wordpress.org/log/number-to-bangla/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.0

 * Compatibility: tested up to WordPress 7.0.1.
 * New formats: `bengali-date` (full reformed Bangla calendar date, day/month/year)
   and `week` (ISO week number).
 * New “Bangla Clock” block: a live-ticking clock in Bangla digits, updating client-
   side every second.
 * New REST endpoint `POST ntb/v1/batch` to convert up to 100 values in a single
   request.
 * New WP-CLI command: `wp ntb convert <value> --format=<format>`.
 * New Elementor dynamic tag (“Number to Bangla”) available when Elementor is active.
 * New template helpers: `ntb_to_bengali_date()`, `ntb_week_number()`.

#### 2.0.1

 * Compatibility: tested up to WordPress 7.0; raised “Requires at least” to 5.6 (
   matches the block editor APIs used).
 * Fixed timezone-sensitive date/time conversion by parsing dates with DateTime 
   in UTC instead of the runtime-dependent date() function.
 * Removed the manual text-domain loading call; WordPress loads translations automatically
   for the matching plugin slug (4.6+).
 * Lowered the maximum convertible number to 999,999,999 (was 999,999,999,999,999):
   values at or above 1 arab produced non-idiomatic Bangla word output (“X কোটি 
   Y কোটি …”).

#### 2.0.0

 * New formats: percentage, bengali-month, season, day, date, time, duration, age,
   ordinal, and reverse parse.
 * New “Number to Bangla” Gutenberg block with live preview.
 * New REST API endpoint `ntb/v1/convert`.
 * New template helper functions and the `ntb_convert_output` filter.
 * New shortcode attributes: prefix, suffix, words, date_format, as_of.
 * Refactored into an `includes/` structure; added ABSPATH guards, output escaping
   and attribute sanitization.
 * Added i18n (text domain loading + translation template).
 * Fixed trailing spaces in word output and added negative-number support (ঋণাত্মক).
 * Fixed Gutenberg block registration in the editor (declared script dependencies)
   and preserved spaces in prefix/suffix.
 * Added PHPUnit test suite.
 * Bumped: Requires PHP 7.4, Tested up to 6.5.

#### 1.1.0

 * Refactored conversion methods; decimal and money handling improvements.

#### 1.0.0

 * Initial release: number, word, money, month and comma formats via the `[ntb_num]`
   shortcode.

## मेटा

 *  Version **2.1.0**
 *  Last updated **3 months पहिले**
 *  Active installations **10+**
 *  WordPress version ** 5.6 चाहे एकरो से ऊपर **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.4 चाहे एकरो से ऊपर **
 *  Language
 * [English (US)](https://wordpress.org/plugins/number-to-bangla/)
 * Tags
 * [bangla](https://bho.wordpress.org/plugins/tags/bangla/)[Bengali](https://bho.wordpress.org/plugins/tags/bengali/)
   [date](https://bho.wordpress.org/plugins/tags/date/)[money](https://bho.wordpress.org/plugins/tags/money/)
   [number](https://bho.wordpress.org/plugins/tags/number/)
 *  [Advanced View](https://bho.wordpress.org/plugins/number-to-bangla/advanced/)

## रेटिंग्स

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/number-to-bangla/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/number-to-bangla/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/number-to-bangla/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/number-to-bangla/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/number-to-bangla/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/number-to-bangla/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/number-to-bangla/reviews/)

## Contributors

 *   [ Md. Rakibul Islam ](https://profiles.wordpress.org/rkb007/)

## मदद

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/number-to-bangla/)