Entity Word can create a word document from node entity based on title and body.
URL to use: /entity-word/{node_id}/word in your required twig file to download the entity content.
Example: /entity-word/10/word

Entity PDF uses phpoffice/phpword library to generate word document.

Install with composer only!
-Library
composer require "phpoffice/phpword"
-Module
composer require drupal/entity_word