Convert LinkedIn posts to Markdown
Turn a public LinkedIn URL into clean, portable Markdown for LLMs, notes, research, and archives. This guide follows the same domain-swap workflow as the X guide, adapted for LinkedIn.
Want to test the form first? Use the LinkedIn converter or start from the all-platform preview.
Why use AnyPost for LinkedIn?
Posts and articles with guest-visible comments when requested. Instead of pasting a live URL and hoping an AI tool can read it, AnyPost returns the post as a stable Markdown document with attribution.
| Approach | What you get |
|---|---|
| Paste the original link | Preview cards, login walls, or incomplete context |
| anypost.md | Clean Markdown with source URL and platform context |
01: Cleaner context
Markdown removes navigation, overlays, embeds, and tracking parameters so models see the post content first.
02: Better archives
The output is plain text, easy to diff, store in Obsidian, add to a CMS, or keep in a research folder.
03: Predictable automation
The browser URL swap and the JSON API share the same conversion pipeline, so scripts and manual workflows produce the same style of output.
Step-by-step workflow
01: Copy the LinkedIn URL
Use the public permalink for the post, article, story, video, pin, or thread you want to preserve.
02: Swap the domain to anypost.md
Open the AnyPost URL in your browser. The platform prefix keeps routing explicit.
Before: https://linkedin.com/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ
After: https://anypost.md/linkedin/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ
03: Add paid options when needed
LinkedIn requires Pro, Scale, or Agency plus an apk_ key because it is a Pro-tier source with higher fetch cost.
04: Copy the Markdown output
Use the result in a prompt, archive, markdown editor, CMS, or API workflow.
What you get
- Public posts stripped of feed chrome and sign-in prompts
- Author name, avatar, and profile handle preserved
- Guest-visible comments when Comments is on
- Reaction and comment counts when visible on the guest page
- Available on Pro and above
# Example LinkedIn post
Clean post text appears here, with line breaks preserved and noisy page chrome removed.
- Source platform: LinkedIn
- Original URL: https://linkedin.com/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ
- Markdown URL: https://anypost.md/linkedin/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ
---
2026-06-01 · LinkedIn · [Original post](https://linkedin.com/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ)
Good for
- Feeding exact LinkedIn context into ChatGPT, Claude, Gemini, Cursor, or another AI assistant.
- Saving source posts in Obsidian, Notion, a research database, or a static-site content folder.
- Quoting public posts with the original URL and platform timestamp kept together.
- Building lightweight review, monitoring, or archive scripts around a stable Markdown response.
For agents: fetch Markdown, not web pages
Give AnyPost to OpenClaw, Codex, Cursor agents, Claude Code, and RAG workers as their LinkedIn fetch layer. Instead of driving the original site, the agent should rewrite the URL to anypost.md or call /api/convert, then read the clean Markdown response.
That keeps agents out of brittle DOM scraping, rate-limit loops, login walls, and browser automation noise.
Agent setup
- Install the anypost-md skill, or give your agent the raw SKILL.md.
- Store an
apk_key from Login for Agents and send it asAuthorization: Bearer apk_live_xxxfor paid options. - Use the domain-swap URL when the agent wants a plain Markdown document; use
/api/convertwhen it needs JSON fields such asmarkdown,credits, or structured errors.
Original: https://linkedin.com/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ
Agent: https://anypost.md/linkedin/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ
Paid options and API usage
LinkedIn is Pro+ only. After buying credits, Login with Google to redeem checkout, create an apk_ key, and pass it with the conversion request:
curl -sS -H "Authorization: Bearer apk_live_xxx" \
"https://anypost.md/linkedin/posts/gauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ"
When your app needs JSON fields such as markdown, credits, or structured errors, call /api/convert with the original URL:
curl -sS -H "Authorization: Bearer apk_live_xxx" \
"https://anypost.md/api/convert?url=https%3A%2F%2Flinkedin.com%2Fposts%2Fgauravsingh961_anthropicxgatescarouselpdf-activity-7463061132971409408-FHcQ"
| Entry point | Response | Best for |
|---|---|---|
/linkedin/... domain swap | text/plain Markdown | Browser, curl pipes, agents that want a document |
/api/convert?url=... | JSON with markdown | Apps that need metadata and structured errors |
See Documentation for query parameters, credit costs, and authentication.
LinkedIn FAQ
Which LinkedIn URLs work?
Public post URLs under linkedin.com/posts/…, swap the host for anypost.md. Pro, Scale, or Agency plan and an API key required.
Does LinkedIn work on the free tier?
No. LinkedIn is Pro+ only, like Substack and Threads. Starter covers X tweets, Reddit, Bluesky, Mastodon, Hacker News, YouTube, and Medium.
Can I include LinkedIn comments?
Yes. Turn on Comments to include replies visible on the public guest page, up to 50 with comments=50. Each comment adds 1 credit.
Is LinkedIn available on the free tier?
No. LinkedIn requires Pro, Scale, or Agency plus an apk_ key. Starter covers X tweets, Reddit, Bluesky, Mastodon, Hacker News, YouTube, and Medium.
Can agents use AnyPost instead of scraping LinkedIn?
Yes. Give OpenClaw, Codex, Cursor agents, Claude Code, or your RAG worker the anypost-md skill at /i/skill.md and an apk_ key from Login for Agents. The agent should call AnyPost for LinkedIn URLs and read Markdown instead of scraping the original page, which avoids brittle selectors, rate limits, and login walls.
Next
- Try the LinkedIn converter with a real URL.
- Convert any post to Markdown, the multi-platform overview.
- Feed context to AI models, prompt patterns for using Markdown output.
- Archive posts into Obsidian, frontmatter and vault organization.