How to Add Line Numbers in Word for the Web: Fixes & Workarounds
Question details
The user needs to add line numbers to a document but cannot find the feature in the online version of Word.

- 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.
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.
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.
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'.
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'.
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.

Use a Pre-formatted Template File
If you frequently need line numbers and want to avoid switching to desktop apps every time, set up a blank template with line numbers applied.
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. Download and install WPS Office: Visit the official WPS website to download the free desktop application for your operating system.
- 2. Open your document: Launch WPS Writer and open your cloud-synced .docx file.
- 3. Add line numbers natively: Go to the Page Layout tab, click 'Line Numbers', and apply them instantly to your document.

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.




