Excel Number Format Code Builder

Pick your options, get the format code, and see exactly how it renders right beside it.

Built for the moment the Custom box in Format Cells stops you. Choose decimals and a style for negatives and the code is written for you, with a live preview of how it renders. Paste a code you already have to see what it means. Nothing you enter leaves this screen.

Build it
Scale down
Negatives as
Zero as

Common codes

Format code

Renders as

1,234,568

Four sections

A code splits on semicolons into at most four sections, in the order positive, negative, zero, text. That is the rule in Microsoft's documentation, and a section you leave out falls back to an earlier one.

Positive
#,##0

The same m means month and minute

Microsoft's date code table lists m for months (1-12) and for minutes (0-59). The documentation gives no rule for telling them apart, so this page treats m as minutes when it follows an hour code or precedes a seconds code, and as months otherwise. That is a widely used rule, but it is this page's choice, so it says so.

Nothing you entered was sent anywhere. Everything was calculated on this screen.

The preview is drawn by this page

It is not a screenshot of Excel. It is this page re-applying the rules from Microsoft's documentation. That is why codes it cannot handle are reported plainly instead of being approximated. For anything that matters, check it once in Excel.

Sources

How Excel custom number formats work

Made alongside

Other services by the same maker.

Use without ads

The ad slots go away. Format code conversion stays free.

It applies to this browser on this device only.

There is no free trial that turns into a charge. Cancelling is one button on this screen.

If you leave it unchecked, you get the time you paid for and it will not renew.

Monthly

$1.99 a month.

Within 7 days of paying, ask and we refund in full. After that, cancelling keeps the time you paid for.

Yearly

Yearly is coming soon. You are not charged.

Ad-free months come from payment records only. Cancel and rejoin with the same email, and we add to the months you already had. Months off are not counted. A yearly plan counts the months that have passed.

Manage with your payment email

Joined on another device, or not seeing it here? You can cancel there.

Questions about payment, or want a refund? Email us. ok981121@naver.com

Polar handles payment and receipts. If a minor paid without a parent's or guardian's consent, they or their guardian can cancel the purchase.

Terms of use