# Convert PowerPoint Presentations to Word Documents on Android

> Convert PowerPoint PPT and PPTX slides to editable Word documents in Java using Aspose.Slides for Android with precise layout, images and formatting preserved.

Source: https://docs.aspose.com/slides/androidjava/convert-powerpoint-to-word/
Updated: 2026-08-05


## **Overview**

This article provides a solution for developers on converting PowerPoint and OpenDocument presentations to Word documents using Aspose.Slides and Aspose.Words. The step-by-step guide walks you through every stage of the conversion process.

## **Aspose.Slides and Aspose.Words**

To convert a PowerPoint file (PPTX or PPT) to Word (DOCX or DOCX), you need both [Aspose.Slides for Android via Java](https://products.aspose.com/slides/androidjava/) and [Aspose.Words for Android via Java](https://products.aspose.com/words/android-java/).

As a standalone API, [Aspose.Slides](https://products.aspose.app/slides) for java provides functions that allow you to extract texts from presentations. 

[Aspose.Words](https://docs.aspose.com/words/androidjava/) is an advanced document processing API that allows applications to generate, modify, convert, render, print files, and perform other tasks with documents without utilizing Microsoft Word.

## **Convert PowerPoint to Word**

1. Download [Aspose.Slides for Android via Java](https://downloads.aspose.com/slides/java) and [Aspose.Words for Java](https://downloads.aspose.com/words/java) libraries.
2. Add *aspose-slides-x.x-jdk16.jar* and *aspose-words-x.x-jdk16.jar* to your CLASSPATH.
3. Use this code snippet to convert the PowerPoint to Word:

```java
import com.aspose.slides.*;
import com.aspose.words.*;
import java.io.ByteArrayOutputStream;

Presentation pres = new Presentation("sample.pptx");

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

for (ISlide slide : pres.getSlides()) {
    // generates a slide image as a byte array stream
    IImage image = slide.getImage(1, 1);
    ByteArrayOutputStream imageStream = new ByteArrayOutputStream();
    image.save(imageStream, ImageFormat.Png);
    image.dispose();

    builder.insertImage(imageStream.toByteArray());

    // inserts slide's texts
    for (IShape shape : slide.getShapes()) {
        if (shape instanceof AutoShape) {
            builder.writeln(((AutoShape) shape).getTextFrame().getText());
        }
    }

    builder.insertBreak(BreakType.PAGE_BREAK);
}

doc.save("output.docx");
pres.dispose();
```

## **FAQ**

### What components need to be installed to convert PowerPoint and OpenDocument presentations to Word documents?

You only need to add the respective package for [Aspose.Slides for Android via Java](https://releases.aspose.com/slides/androidjava/) and [Aspose.Words for Android via Java](https://releases.aspose.com/words/androidjava/) to your project. Both libraries operate as standalone APIs, and there is no requirement for Microsoft Office to be installed.

### Are all PowerPoint and OpenDocument presentation formats supported?

Aspose.Slides [supports all presentation formats](/slides/androidjava/supported-file-formats/), including PPT, PPTX, ODP, and other common file types. This ensures that you can work with presentations created in various versions of Microsoft PowerPoint.

