The ratification of the Indonesian National Armed Forces Bill (RUU TNI) into law by the House of Representatives (DPR RI) on March 20, 2025, sparked various public reactions. Several articles, such as Article 7(2)(b) and Article 47(2), are considered to potentially revive the military’s dual function and threaten democracy and civilian supremacy. Many people expressed their opinions on social media platform X (Twitter). This study analyzes public sentiment toward the TNI Law using the Support Vector Machine (SVM) method with 1,001 tweets collected via web scraping and processed through cleansing, tokenization, and stemming. SVM classified the sentiments into positive, neutral, and negative categories, achieving an accuracy of 94.66%. The highest recall was found in neutral sentiment (1.00), followed by positive (0.98), and negative (0.88). The results showed that negative and neutral sentiments were the most prevalent, providing recommendations to the government for more participatory and democratic policymaking.Keywords: Sentiment Analysis; Support Vector Machine; TNI Law; Social Media; Web Scraping; Text Classification; Public Policy Abstrak Pengesahan RUU TNI menjadi Undang-Undang oleh DPR RI pada 20 Maret 2025 memicu berbagai reaksi masyarakat. Beberapa pasal, seperti Pasal 7 ayat (2) huruf b dan Pasal 47 ayat (2), dinilai bisa menghidupkan kembali dwifungsi militer dan mengancam demokrasi serta supremasi sipil. Masyarakat pun ramai menyampaikan pendapatnya di media sosial X (Twitter). Penelitian ini menganalisis sentimen publik terhadap UU TNI dengan metode Support Vector Machine (SVM) menggunakan 1001 cuitan yang dikumpulkan lewat web scraping dan diproses melalui cleansing, tokenisasi, dan stemming. SVM mengklasifikasikan sentimen menjadi positif, netral, dan negatif, dengan akurasi 94,66%. Recall tertinggi ada di sentimen netral (1,00), lalu positif (0,98), dan negatif (0,88). Hasilnya, sentimen negatif dan netral paling banyak muncul, memberikan masukan bagi pemerintah untuk merumuskan kebijakan yang lebih partisipatif dan demokratis.