Editing document.xml inside a .docx file

I have converted a .docx Word document file to a .zip and I have accessed the internal document.xml file but I'm confused as to how to edit its contents. Do I need to do this via Notepad or other more specific apps? Just FYI, the actual original .docx is quite large (over 10,000 words) and I need to replace the internal strings of the document whilst maintaining its original readable text.

0

1 Answer

You can edit with Notepad if you wish.

As long as your changes are syntactically correct, saving with Ctrl+S is okay. After you put it back into the .zip file and give the file its .docx extension, you'll have a valid Microsoft Word file.

And yes, you can edit it with a more specialized editor if you want. (You don't have to. But you can if you wish.) Notepad++ or Visual Studio Code are both okay.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like