RelahConvert PDF & Office Tools
RelahConvert PDF & Office Tools is a Media Library extension that brings 16 free PDF and Office document tools to WordPress. Click a tool button on any PDF, Word, Excel, or PowerPoint attachment, process the file on RelahConvert.com, and the result is sent back to your Media Library automatically.
Your file never leaves your device. All 16 tools process your PDF or Office document entirely in your browser — there is no server-side conversion step, no third-party processing API, no upload to RelahConvert’s servers for the file itself. The processing JavaScript runs locally on whatever device you have the Media Library open on.
This plugin is a sibling to RelahConvert Image Tools (38 image tools). They cover non-overlapping file types — install one, both, or neither.
The 16 tools
PDF — Organize * Merge PDF — combine multiple PDF files into a single document * Split PDF — split a PDF into multiple files by page range * Reorder Pages — drag and drop to reorder pages * Extract Pages — pull specific pages into a new document * Remove Pages — remove unwanted pages
PDF — Edit * Rotate PDF — rotate pages by 90, 180, or 270 degrees * Crop PDF — crop margins or specific areas * Add Page Numbers — add page numbers with custom positioning * Watermark PDF — add text or image watermarks * Extract Images — pull every embedded image out of a PDF
PDF — Optimize & Security * Compress PDF — reduce file size while preserving quality * Protect PDF — add a password * Unlock PDF — remove the password from a PDF you own
Office ↔ Office * Excel to Word — convert .xlsx spreadsheets to editable .docx documents * Word to Excel — convert .docx documents to editable .xlsx spreadsheets * PowerPoint to Word — convert .pptx slide text and tables to .docx documents
Where Processing Happens
All 16 tools process your file entirely in your browser using open-source JavaScript libraries (pdf-lib, pdfjs, JSZip, mammoth.js, SheetJS, docx). Your PDF, Word, Excel, or PowerPoint file never leaves your device for the actual conversion or editing step.
The only network activity tied to file content is «Send to WordPress» — when you choose to send your processed file back to your Media Library, the plugin POSTs it to a REST endpoint on your own WordPress site using a short-lived authentication token.
Optional, only if the user signs in on RelahConvert.com: Save to Account uploads the processed file to Supabase Storage so it can be re-downloaded later. Sign-in is not required to use any tool.
Seamless WordPress Integration
Click a tool button in the Media Library → file opens on RelahConvert.com with your file auto-loaded → process it in your browser → click «Send to WordPress» → processed file lands back in your Media Library. No manual download and re-upload.
How It Works
- Activate the plugin and click Connect on the Settings → RelahConvert PDF page. This is a one-click authorization that uses WordPress’s built-in Application Passwords — no setup, no API keys.
- Go to your WordPress Media Library.
- Click any RelahConvert action button on a PDF, .docx, .xlsx, or .pptx attachment (Merge, Split, Compress, or To Word / To Excel).
- The tool opens on RelahConvert.com with your file auto-loaded.
- Process your file with one click — everything happens in your browser.
- Click «Send to WordPress» to add the processed file directly back to your Media Library.
You can use the 16 tools for conversion without connecting — the one-time Connect step only enables the round-trip «Send to WordPress» upload.
Third-Party Services
This plugin loads the processing UI from RelahConvert.com. When you click a tool button in the Media Library, your browser opens RelahConvert.com with your file auto-loaded.
What happens there:
- All 16 tools (Merge, Split, Compress, Rotate, Watermark, Excel ↔ Word, etc.) — Processing runs in your browser via JavaScript. No network roundtrip for your file itself.
- Library scripts via jsDelivr CDN — On first use of a tool, RelahConvert.com loads JavaScript libraries (pdfjs for PDF parsing, JSZip for ZIP bundling) from the jsDelivr public CDN. Only the library code is fetched from jsDelivr; no user data is sent there. Subject to jsDelivr Privacy.
- Save to Account (optional) — Only if the user signs in with Google or email on RelahConvert.com. Files are stored on Supabase Storage. Supabase Terms and Privacy.
- Send to WordPress — Sends the processed file from your browser back to your WordPress site using WordPress’s standard
/wp/v2/mediaREST endpoint, authenticated via the Application Password you generated during Connect. No custom auth code on the upload path — WordPress core handles the authentication.
By using this plugin, you agree to RelahConvert’s Terms of Service and Privacy Policy, and to the terms of any third-party service you choose to use through it.
CORS Configuration
On activation, this plugin adds a CORS header to your wp-content/uploads/.htaccess file to allow RelahConvert.com to load your attachments for processing:
Header set Access-Control-Allow-Origin "https://relahconvert.com"
The block is bracketed by # BEGIN RelahConvert-PDF CORS and # END RelahConvert-PDF CORS markers so the plugin can clean up after itself. The rule is automatically removed when the plugin is deactivated.
If you also use the RelahConvert Image Tools plugin, both plugins manage their own marker blocks independently — they coexist without interfering with each other.
Features
- Action buttons in Media Library list view and grid view for PDF, .docx, .xlsx, and .pptx attachments
- «More Tools» dropdown with all 13 PDF tools on every PDF attachment
- Auto-loads your file into the selected tool
- «Send to WordPress» button sends processed files directly back to your Media Library
- MIME-aware — the right tools show up for the right file types
- Settings page with quick links to all 16 tools
- Lightweight — no bloat, minimal database usage (temporary tokens only)
- Works with the Classic Editor and Block Editor
- Coexists cleanly with the RelahConvert Image Tools plugin (separate REST namespace, separate .htaccess marker, separate transient keys)