WPS Macro Editor on Windows: Introduction

Last updated:July 15, 2026

WPS Macro Editor is a built-in scripting workspace in WPS Office for Windows for creating and managing JS macros; this guide covers 4 core tasks, with 4 available without membership and 0 membership-related items.

At a Glance

MetricValueNotes
Core tasks4Matches the number of rows in the How-to Index
Available without membership4Matches the number of Free rows in the index
Membership-related items0Matches the number of membership-related rows in the index

About This Feature

Overview

WPS Macro Editor is an automation development tool in WPS Office for Windows. It lets you create and edit JS macro code inside documents so you can turn repeated document actions into reusable scripts.

Core capabilities include:

  • Open the macro editor from the developer-related entry in WPS Writer.
  • Insert a JS module and start writing JavaScript code.
  • Set JS as the default development environment.
  • Save documents in a macro-enabled format so macro code is retained.

This feature is useful for users who handle repeated document tasks, maintain script-based office workflows, or develop and test macros on Windows.

System Requirements

ItemRequirement
Operating systemA Windows device that can run WPS Office normally
App versionIt is recommended to use the latest version of WPS Office
NetworkNo mandatory connection is required for local macro editing; downloading, installation, and account-related actions require internet access
OtherYou need access to the developer-related entry in WPS Writer and a macro-enabled file format when saving macro content

Download & Installation

ItemDetails
Official downloadWPS Office Free Download
Check after installationOpen WPS Writer and confirm that a macro editor-related option is available under Tools or developer-related entries

Source: WPS download page

Compare with Alternatives

DimensionWPSMicrosoftGoogleNotionAdobe
Capability SummaryProvides a macro editor entry on Windows, supports inserting JS modules and writing JavaScript macros, and lets users set JS as the default development environment.Word supports recording, running, and writing macros, and users can create a macro from scratch in the Visual Basic environment, with a VBA-centered workflow.Google Apps Script supports automation, integration, and extension across Google Workspace and uses JavaScript as its scripting language, but it is mainly a cloud-based scripting platform.Notion buttons can automate repetitive tasks such as creating pages, editing databases, sending notifications, and opening URLs, with a workflow automation focus rather than an in-document script editor.Acrobat extends JavaScript with Acrobat-specific objects for document security, forms, attachments, interface actions, and PDF behavior, with a PDF-centered scripting model.
WPS AdvantagesAdvantage: Open a JS macro workflow directly inside WPS Writer. Distinct: JS modules fit users who prefer JavaScript for document automation.Compared with WPS: Microsoft documentation focuses on recorded macros and Visual Basic editing, so the scripting language and editor path differ.Compared with WPS: Google offers strong automation and JavaScript support, but the workflow is centered on Google Workspace services instead of a local document macro editor.Compared with WPS: Notion is suited to page and database workflows, but it does not present a traditional local document macro editor for office documents.Compared with WPS: Adobe JavaScript is designed around PDF documents and Acrobat objects, so the document type and automation target are different.
Official SourceCreate or run a macroApps ScriptButtonsAcrobat JavaScript Development

Overall Conclusion
If your main goal is to write and maintain JS macros inside WPS Writer on Windows, WPS Macro Editor is closer to that document-based workflow. Microsoft is more aligned with VBA macro development, Google and Notion are more focused on online automation, and Adobe is more suitable for PDF scripting scenarios.

Use Cases

No.ScenarioSuitable forMain pain pointHow WPS helps
1Repeated document task automationOffice staffThe same steps need to be repeated manuallyWrite JS macros in the macro editor and reuse the logic
2Internal template script maintenanceDocument administratorsAutomation logic in templates is scattered and hard to maintainManage script code through JS modules
3Opening JS as the default environmentMacro developersThe development environment must be switched each timeEnable the default JS development environment option
4Archiving and sharing macro documentsTeam membersStandard formats do not retain macro codeSave files in a macro-enabled format before sharing
5Preparing for cross-platform macro migrationWindows usersOlder VBA logic cannot be used directly on other systemsRebuild the automation logic with JS macros for later adaptation

Membership & Benefits

Free vs WPS Premium

CapabilityFree usersWPS Premium
Macro editor entryAvailableAvailable
JS module editingAvailableAvailable
Core office featuresAvailableAvailable
Additional PDF, template, and cloud benefitsAvailable within the free plan scopeMore extended benefits are available

Source: WPS Office pricing page

Recommendations

Usage scenarioRecommended planWhy
You only need to write and test JS macros in WriterFreeThe feature information shows no membership restriction for the macro editor, so basic use can start directly
You also need broader PDF, template, or cloud benefitsWPS PremiumSuitable when you need additional office benefits beyond macro development

How to Subscribe

Source: WPS Office pricing page