How To Get Word Count On Google Slides

Google Slides is a popular presentation tool, widely used for both educational and business purposes. Despite its ease of use and versatility, it currently lacks a built-in feature for counting the words in a slide. But worry not! In this blog post, we will guide you on how to easily get a word count on Google Slides with a simple workaround. Ready? Let’s dive in!

Method 1: Manual Counting

While it can be time-consuming, especially for longer presentations, manually counting words is an option. You can select the text on each slide one by one and then copy and paste them into a Google Docs or Microsoft Word document. These platforms have built-in word counting features. You can access this feature by clicking Tools > Word Count in Google Docs or Review > Word Count in Microsoft Word.

Method 2: Using Google Apps Script

Google Apps Script is a rapid application development platform that makes it easy to create business applications that integrate with G Suite. You can use Google Apps Script to develop a small script that will count the words in your Google Slides. Here is a simple script that does the trick:

function countWords() {
  var presentation = SlidesApp.getActivePresentation();
  var slides = presentation.getSlides();
  var wordCount = 0;
  
  for (var i = 0; i < slides.length; i++) {
    var elements = slides[i].getPageElements();
    
    for (var j = 0; j < elements.length; j++) {
      var element = elements[j];
      
      if (element.getPageElementType() == "SHAPE") {
        var text = element.asShape().getText();
        var string = text.asString();
        wordCount += string.split(' ').length;
      }
    }
  }
  
  Logger.log(wordCount);
}

Once you’ve added your script, you can run the countWords function, and it will log the word count in the Logger. To view the Logger, click on the “View” menu and select “Logs”.

Conclusion

Counting words in Google Slides may not be straightforward, but with a little bit of creativity, it’s definitely possible. Whether you choose to manually count the words or use the Google Apps Script, you’ll be able to keep track of your word count easily. We hope this blog post has been helpful. Happy presenting!