← All tools

Markdown Link Rewriter

Process markdown link rewriter locally with complete copy/download and explicit rules.

markdown-link-rewriterLOCAL WORKSPACE

Enabling local controls…

Inputs and settings

Processed in this tab without uploading or storing inputs. Each text field is limited to 32 KiB and complete output to 1 MiB; additional format and model limits apply.

Results

Review the settings and run. Editing inputs clears old results.

Processing model and limits

Use marked token offsets to rewrite inline/autolink/reference-definition destinations only, preserving titles, labels, code, footnotes and reference syntax. Base mode resolves relative destinations; domain mode compares complete origins and replaces origin only; prefix mode literally joins an HTTP(S) URL or /path/ prefix and destination (including ../ or absolute-URL text), preserving query/hash; it does not normalize the joined URL. Non-HTTP schemes remain untouched. Shared image/link references require images enabled. 5000 tokens/depth30; ambiguous containers rejected. Each text field is limited to 32 KiB; complete output to 1 MiB. Runs in a one-second local Worker, with no network requests.

Data and model checked: ToolHubEN source controls ↗CommonMark links ↗

How to use this tool

Load the example, confirm field units and processing rules, then run locally. Editing any input clears the old result. Copy or download the complete output explicitly.

When not to use it

Use marked token offsets to rewrite inline/autolink/reference-definition destinations only, preserving titles, labels, code, footnotes and reference syntax. Base mode resolves relative destinations; domain mode compares complete origins and replaces origin only; prefix mode literally joins an HTTP(S) URL or /path/ prefix and destination (including ../ or absolute-URL text), preserving query/hash; it does not normalize the joined URL. Non-HTTP schemes remain untouched. Shared image/link references require images enabled. 5000 tokens/depth30; ambiguous containers rejected. Each text field is limited to 32 KiB; complete output to 1 MiB. Runs in a one-second local Worker, with no network requests.