This is a small local tool that converts LinkedIn embedded posts into downloadable images.
It loads a LinkedIn embed, renders it in a headless browser using Puppeteer, and saves a high-quality PNG screenshot.
Useful when you want to reuse LinkedIn posts as images for other platforms.
Make sure you have installed:
- Node.js (v18 or higher recommended)
- npm (comes with Node.js)
Check your version:
node -v
npm -v
Clone the project or download the folder.
Go into the project directory:
cd linkedin-post-capture
Install dependencies:
npm install
Start the server:
node server.js
Open your browser and go to:
http://localhost:5000
- Open LinkedIn
- Click Embed this post
- Copy the iframe code or embed link
Example:
https://www.linkedin.com/embed/feed/update/urn:li:ugcPost:XXXXXXXXXXXX
or
https://www.linkedin.com/embed/feed/update/urn:li:ugcPost:XXXXXXXXXXXX?collapsed=1
- Paste the link into the tool
- Click Load Post
- Click Download Image
The tool will generate a PNG screenshot of the LinkedIn post.
linkedin-post-capture
│
├ server.js
├ package.json
│
└ public
└ index.html
- The tool runs locally using Express + Puppeteer.
- A backend screenshot is required because browsers cannot capture cross-origin iframes like LinkedIn embeds.
If this tool helped you, you can support the project: