Ramesh Hetfield

A Tech Explorer (known as eXtreMesh) from a small town in Malaysia. Love to travel, eat, blog, code, design and game.

YT-ChannelID – Script to Extract Youtube Channel ID from Username or Channel Name

Love coding Add-ons for Kodi for my personal use and most of the Add-ons I have created are mainly video based and those which scrapes results from Youtube. As we know, those Youtube API’s or even Kodi calls uses Youtube Channel ID instead of their username from the URL. Hence the birth of this quick script which will extract the Youtube Channel ID using their username / channel name.

Script:

https://app.ramx.cc/ytchan.php

Usage:

  • Value ‘n’ must be populated with correct channel name or username without the @ sign.
  • Please construct URL as per below (replace NAME with channel name or username:
  • https://app.ramx.cc/ytchan.php?n=NAME
  • eg on how to get my youtube channel ID with my username @extremesh
  • https://app.ramx.cc/ytchan.php?n=extremesh

Updates (09/11/26):
► Version 2.1 Released
► Fixed issue as script was broken, now uses alternative method to get Channel ID
► Redesigned interface for easier usage

Updates (12/05/25):
► Fixed some things in the script
► Shorter URL usage

Do take note that this script works based on the current Youtube page structure, if it changes, then the script might break. If it breaks, will try to fix it.

You can also find this project page on GitHub and also if you need help please find me on my Discord #Support Channel.