Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7017327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:53:59+00:00 2026-05-27T22:53:59+00:00

I would like to read a pptx file in javascript, so I would like

  • 0

I would like to read a pptx file in javascript, so I would like to unzip it and read the content in memory. I don’t want to store the file first on a server. I want to choose a file with a input type file and just use the file of the input-element and read it binary or something like that.

I found a lot of libraries to unzip zip-files from url, I tried to look at the code but I couldn’t figure it out to use it for a blob or byte array.

I can read some stuff like the things described here: http://en.wikipedia.org/wiki/ZIP_%28file_format%29#File_headers

But I don’t know how deflating works on byte- or bit-level.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:54:00+00:00Added an answer on May 27, 2026 at 10:54 pm

    (You’ve said you want to use an input element, so I’m guessing this is browser-based JavaScript.)

    Your first step will be to use the File API to read the file as a binary string. See my answer to this other question for an example of that. Then you’ll need to find a library. A quick search discovered this one that implements both inflate and deflate. (I don’t have personal experience using it, just found it in an answer to this other question.)

    Naturally this will only work on quite modern browsers that support the File API. Otherwise, you have no option but to push the file to a server and do the work there, since you can’t access the content of the file in the browser without the File API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to read a DICOM file in C#. I don't want to
I would like to read Rails documentation locally though gem server. I go to
I would like to read a text file and input its contents into an
I would like to read the last 1 megabyte of a MP3 file and
In java i would like to read a file line by line and print
I would like to read a file which has several lines, and then search
I would like to read an xml file. I' ve found an example which
I would like to read in a dynamic URL what contains a HTML file,
I would like to read strings into Matlab from an excel file ID =
In matlab I would like to read from a structured, and rather big, file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.