I am using Ubuntu and I need to do my project work. When I use libre office for the work purpose it stores in odt format and converting from odt to docx format changes the alignment of words and paragraphs in documentation.

By reading some blogs and watching videos on Youtube I found wine but,I didn't have license for Microsoft office.so is there any other possible way?

  • 11
    No, there isn't. If there was a way that could give results "identical" to Microsoft Office, then no one would buy it any more... So, if you put what you already knew in your two paragraphs, you would have answered your own question. For most people, libreoffice and openoffice are "close enough". If that's not close enough for you, then you'll have to purchase a Microsoft Office license. – Ray Apr 19 at 17:06
  • 3
    You can save in docx format directly. From then on WYSIWYG (usually). Alternatively you can install WPS for better compatibility. Installing Microsoft Office with Wine is also possible but it may not work depending on the version and users always need a valid license, this isn't a piracy service! – ChanganAuto Apr 19 at 17:18
  • 3
    ChanganAuto is correct. You can set LO to default to docx. The only real difference between the 2 is visual basic for macro's. LO uses pyhon. MIND that there is one more alternative: GOOGLE DOCS. To me(!) it trumps them all. Google drawings to me is far better for making flow charts the LO Draw. – Rinzwind Apr 19 at 17:19
  • 5
    Other free alternatives are online word processors like GoogleDoc and the free online version of Microsoft 365. The free online version of 365 has only limited features compared to the paid desktop and online versions. – user68186 Apr 19 at 17:24
  • 4
    You may want to install Microsoft TTF fonts in your Ubuntu computer and use TimesNewRoman or Calibri in LibreOffice, so that looks don't change due to font substitution. This will not solve all your formatting problems, but it will help with compatibility with Word. – user68186 Apr 19 at 17:57

10 Answers 10


You can't use Microsoft Office in any way without a license ... It is payware. You need an windows emulator like wine to run Microsoft .exe files on any Linux.

You can use LibreOffice. It reads and writes MS-Office format files. LibreOffice is free software.

  • 9
    Windows: Microsoft offers free 30-day trials of Office 365 and Office 2013. After your free month is over, you won't be able to use some major features of these office suites. One little-known secret, however, is you can actually extend your trial five times, for total of 180 days of use – C.S.Cameron Apr 20 at 6:48

Yes. There is a cloud implementation of Microsoft Office.

Simply put, yes, it's possible to use Microsoft Office on a Linux computer, without needing to use a Windows emulator. Microsoft has created a version of Microsoft Office with Cloud integration called Microsoft Office 365, which can be accessed on any device by using a web browser to connect to the web version of the Microsoft Office package.

Of course, this will require you to create a Microsoft Office account and pay Microsoft for the privilege of using their software. Also, the web version of Microsoft Word is not fully compatible with the standalone Microsoft Word software, having quite a few features such as image captions and title pages missing.

  • 3
    I also want to add that I once tried to open a document I created on my desktop with Word, on the web based version. The displayed result was rather chaotic (things were not where they were supposed to be). – Clockwork Apr 21 at 10:41
  • @Clockwork Yes. Like I said, the two versions of MS Word aren't fully compatible. – nick012000 Apr 21 at 11:56
  • Yep. Not fully compatible. On my experience, Libreoffice has much less incompatibilites than Office365. If you do not use Excel Macros or very complex spreadsheets, LibreOffice is the best option if you don't want to use Wine. – josircg Apr 22 at 0:52
  • 2
    @Clockwork : You've just described my experience with every pair of desktop versions of Word. Back where I worked we had fussily specific layout requirements for certain customers. Various patches to Word would alter rendering of documents and version upgrades broke everything. At least once, Word 2010 fubarred a file so badly that only OpenOffice was able to make sense of the file and save a clean DOCX. ("-541 inch cropping?!? Really, Word?!?" -- that is not a typo'; there is no missing decimal point.) – Eric Towers Apr 22 at 22:54

Yes, there is a good alternative. Onlyoffice is free and open source (GitHub), and has excellent Microsoft Office compatibility (including viewing Annotated Powerpoint presentations).

enter image description here

It can be installed in many ways.

Snap Package

snap install onlyoffice-desktopeditors

Debian package

Downoad link for .deb-package.


flatpak install flathub org.onlyoffice.desktopeditors

Appimage Can be downloaded from https://www.onlyoffice.com/download-desktop.aspx?from=desktop#desktop

Disclaimer: I am not affiliated with Onlyoffice in any way.



Windows runs great in Ubuntu using VBox: https://www.virtualbox.org/

And Microsoft Office runs best in Windows. It is 100% compatible.

VBox can be installed from Ubuntu Software.

The version of VBox from Ubuntu Software works better with Ubuntu than the version from virtualbox.org

Windows running in VBox must share resources with Ubuntu so it is a little bit slower than with it's own computer.

Windows running in VBox still technically requires a license for full performance. Without activating, you won't be able to personalize the desktop background, window title bar, taskbar, and Start color, change the theme, customize Start, taskbar, and lock screen etc. Additionally, you might periodically get messages asking to activate your copy of Windows

Microsoft offers free 30-day trials of Office, you can extend your trial five times, for total of 180 days of use

  • 3
    My first thought. You want to run a Windows program? Then run Windows. I am *not* knocking Wine, which can do a great job, But, some programs are just too ... windowy for anything but Windows – Mawg says reinstate Monica Apr 21 at 15:58

There is no 100% compatibility with Office word formats in Linux as these formats are proprietary or intentionally obscured.

You didn't specify which Office version you are trying to run. But if that is a requirement and it's a new Office version you will most likely require a commercial offering that allows running Windows programs in Linux.

Codeweaver offers a paid version of wine that supports Microsoft Office. You can use their version in free Trial mode to see if it works for you.

An alternative approach is running Windows in a VM and having your office-suite there.

  • 11
    All current versions of Office use Office OpenXML, which is an ECMA and ISO standard. The proprietary formats haven't been used in a loooong time. – Jörg W Mittag Apr 20 at 18:05
  • 7
    This answer is incorrect, Office hasn't used propietary formats for years – Ray Wu Apr 20 at 19:11
  • and even the old office binary formats have been opened quite long ago. Anyone can get the spec from MSDN – phuclv Apr 21 at 0:43
  • Office OpenXML was initially just a documented XML version of the binary format. Perhaps things are better now. – Thorbjørn Ravn Andersen Apr 21 at 10:58
  • Wow, how quickly people have forgotten... OpenXML was a joke when it was first released. Only the threat of governments switching to OpenDocument formats got them to clean up their act. – barbecue Apr 22 at 14:30

If you prefer a solution that looks and feels very similar to MS Office (including closed source!), you could also try Softmaker FreeOffice.

Generally speaking, there will always be some discrepancies in how your documents are displayed in different applications and versions. Even MS Office 2019 Professional, MS Office 365 and MS Office for Web do not always display documents in the same way.

Another issue to consider is compatibility with your peers: if some of your peers are also using let's say LibreOffice already, you may have less issues when sharing documents with them if you also use LibreOffice.


Perhaps I'm gonna state the obvious, but you can (and should!) use Office online. Dropbox (even the free tier) provides access to an online Microsoft Office suite which should be more than enough for us mortals (provided you don't need crazy Excel macros or that stuff), integrated with their storage. IMHO that's the best feature from Dropbox.


  • It is not clear if one gets any extra features in Microsoft Office by going through Dropbox. A free web version of Office is already available directly from Microsoft: microsoft.com/en-us/microsoft-365/… – user68186 Apr 20 at 15:46
  • @user68186 Good to know! But it's still tied to onedrive too, so even if you don't use Dropbox you still need to use some sort of cloud storage service. I'd stick with Dropbox but that's just personal preference. – maaw Apr 20 at 17:36

My personal experience is that the most seamless Ubuntu/Linux integration with full native Linux compatibility is provided by Softmaker Office. Compared to say, LibreOffice, I've found the compatibility w.r.t. Microsoft formats (especially .docx) far superior.

The drawback is that you are switching one commercial solution for another. However their pricing is much better than Microsoft.

My answer might look like an ad, but this is really my experience w.r.t. compatibility of complex .docx documents (comments, styles etc.)


As far as I know, yozo-office is the closest imitation of microsoft-office. It's more like microsoft's than wps-office and libreoffice. You can take a look here.



You may use WPS Office as an alternative.

It is said (there are some articles mentioned, but I can't find any official announcement), in history, the company behind WPS Office has a format compatibility agreement with Microsoft Office.

And it is free (the pay "free", not the source "free"), though it contains some ads.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.