Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

TikTok-Video-Downloader-PHP

> 编程语言
Open source

A simple but effective one page TikTok video downloader(watermark free) script developed by Tufayel

341 stars0 likes1 views
WebsiteGitHub

About

A simple but effective one page TikTok video downloader(watermark free) script developed by Tufayel

TikTok Video Downloader PHP Script

A simple but effective one page TikTok video downloader script in PHP, developed by Tufayel Ahmed

Screenshot

Features

  • Supports short url(subject to change), normal video urls(desktop style urls only)
  • Supports watermark free video downloading (thanks to @dutchtom91 for the API suggestion)

Video Download Guide

  • First, find an acceptable URL format for the video to download.
  • Paste it in the input field of the webpage
  • Press the download button
  • Scroll down to the Download video button. There will be both watermarked and watermarked free download button
  • In case the watermark free button loads a blank page, please keep refreshing that blank page again until you see the watermark free video. (API glitch)
  • Enjoy the video!

Acceptable URL Formats

  • https://www.tiktok.com/@username/video/videoID
  • https://vm.tiktok.com/videoID (or similar short URLs)

N.B: Any URL that is not under the tiktok.com domain is not supported and will throw an error

Do not put the URL of m.tiktok.com, as this is not redirected to the web version automatically, and you are requested to collect either short URLs or desktop URLs

Limitations

  • May stop working for a while if the user agent is flagged for abuse. Change the user agent if it stops working.
  • Sometimes it may throw a captcha and the downloader might fail at that time. Try later in such cases.
  • Short URL support is subject to change at any time
  • Does not support private videos
  • No support for video URLs of the format m.tiktok.com/v/123456789.htm but supports short URLs and full desktop URLs

Usage

Simply download and deploy. No changes required.

Live: Not Available Anymore due to no sponsorships.

Contribution Guidelines

If you want to contribute to this project, make sure to keep the coding style standard as much as possible and only make a pull request if your contribution makes sense for the project. Trying to make small adjustments will not be merged. Contributions are welcome.

Trouble Downloading Videos?

  • Create an issue in this repository, and I will get to know.
  • Make sure to follow the correct video URL format.
  • Try once again and wait for the "Download Video" button to appear in the bottom section of the page. It should auto-scroll for you; if not, scroll down manually.
  • Please do not create issues about "Watermark free videos not downloading after videos uploaded from and after 27th July 2020" as there is already an open issue for that. As soon as I have a feasible solution, I will update the code mentioning the changes.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPtiktoktiktok-downloader

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言