Formatting Issues

How to Add Line Numbers in Word for the Web: Fixes & Workarounds

Algirdas JasaitisAlgirdas Jasaitis Nov 3, 2026 869 views

Question details

The user needs to add line numbers to a document but cannot find the feature in the online version of Word.

How to Add Line Numbers in Word for the Web: Fixes & Workarounds
Product
Microsoft Word for the Web
Device & OS
not provided
Scenario
Editing a document stored in Dropbox or OneDrive using the browser-based version of Microsoft Word.
Observed behavior
The Line Numbers option is entirely missing from the Layout and Page Setup tabs in Word for the Web.
Before you start

Ensure you have access to a desktop word processor, as the browser-based version of Microsoft Word does not natively support inserting or displaying line numbers.

Solution 1Recommended

Apply Line Numbers Using Desktop Word

Since the web version lacks this feature, you can open the file in the desktop app, apply the formatting, and let it sync back to the cloud.

Word for the Web is a streamlined version of the software and lacks advanced layout features. To bypass this, you must apply the line numbers using a desktop application. While the numbers may not visually display when you return to the web view, they are preserved in the file's data.

1
Open document in the desktop app

While viewing your document in Word for the Web, click the 'Editing' or 'Viewing' button at the top of the ribbon and select 'Open in Desktop App'.

2
Add line numbers

Once the document opens in desktop Word, navigate to the 'Layout' tab. In the Page Setup group, click on 'Line Numbers' and choose your preferred numbering style, such as 'Continuous'.

3
Save and sync

Save the document. The changes will automatically sync back to your OneDrive or cloud storage. You can continue editing the text online, keeping in mind the line numbers will remain hidden in the browser.

Apply Line Numbers Using Desktop Word
Web Display Limitations: Even after adding line numbers on the desktop, Word for the Web will not display them on your screen. However, they will appear if you print the document or export it to PDF.
Free Microsoft Office alternative

Get Full Desktop Formatting Features for Free with WPS Office

If you only have access to Word for the Web and cannot afford a premium Microsoft Office desktop subscription to add line numbers, WPS Office provides a fully featured, free desktop application that easily handles advanced formatting.

  1. 1. Download and install WPS Office: Visit the official WPS website to download the free desktop application for your operating system.
  2. 2. Open your document: Launch WPS Writer and open your cloud-synced .docx file.
  3. 3. Add line numbers natively: Go to the Page Layout tab, click 'Line Numbers', and apply them instantly to your document.
Easily add line numbers, columns, and advanced page layouts.Fully compatible with Microsoft Word (.docx) formats.Free and lightweight desktop application for Windows, Mac, and Linux.Familiar user interface that requires no learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I see line numbers in Word for the Web?

Word for the Web is designed as a lightweight, browser-based editor. It does not support rendering or adding complex page layout elements like line numbers natively in the editing interface.

If I add line numbers on the desktop, will they print correctly from the web?

Yes. If you apply line numbers using a desktop app and later print the document or save it as a PDF from Word for the Web, the line numbers will appear in the final output even though they are hidden on the screen.

Can I use third-party add-ins to get line numbers in Word for the Web?

Currently, there are no standard Office add-ins available for Word for the Web that bypass this specific limitation. A desktop word processor is required to format the line numbers.

Are there free ways to add line numbers if I don't own Microsoft Word desktop?

Yes, you can download a free desktop word processor like WPS Office. You can open your document, add the line numbers through the Page Layout tab, and save it back in the standard .docx format without needing a paid Microsoft subscription.