Abstract
The advent of AI-generated text, driven by advanced language models like GPT (Generative Pre-trained Transformer) and BERT (Bidirectional Encoder Representations from Transformers) has revolutionized content creation but also raised concerns about authenticity and misuse in various domains. This research proposes a system to detect whether the supplied text is written by human-being or it generated by AI algorithms, supporting both English and Hindi languages using two datasets with mixed human-authored and AI-generated content. After pre-processing steps such as tokenization, cleaning, and normalization, trained the models including BERT, LSTM (Long Short Term Memory), Logistic Regression, SVM (Support Vector Machine), Random Forest, and Naive Bayes, with BERT finetuned for contextual understanding and LSTM for sequential data, achieving higher accuracy in both languages. A userfriendly interface was developed to allow text file uploads for instant authenticity predictions, serving academic, journalistic, and digital media contexts, with the study highlighting transformer-based models' potential in multilingual detection to enhance digital content trustworthiness and mitigate AIgenerated text misuse. Using the proposed method, accuracies of 95.76 % in English text and 95.58 % in Hindi text have been obtained. The proposed system was found to be effective in detecting text generated by AI algorithms.