Authorship verification is a crucial task in digital forensic investigations, where it is often necessary to determine whether a specific individual wrote a particular piece of text. Convolutional Neural Networks (CNNs) have shown promise in solving this problem, but their performance highly depends on the choice of hyperparameters. In this paper, we explore the effectiveness of hyperparameter tuning in improving the performance of CNNs for authorship verification. We conduct experiments using a Hyper Tuned CNN model with three popular optimization algorithms: Adaptive Moment Estimation (ADAM), Stochastic Gradient Descent (SGD), and Root Mean Squared Propagation (RMSPROP). The model is trained and tested on a dataset of text samples collected from various authors, and the performance is evaluated using accuracy, precision, recall, and F1 score. We compare the performance of the three optimization algorithms and demonstrate the effectiveness of hyperparameter tuning in improving the accuracy of the CNN model. Our results show that the Hyper Tuned CNN model with ADAM Optimizer achieves the highest accuracy of up to 90%. Furthermore, we demonstrate that hyperparameter tuning can help achieve significant performance improvements, even using a relatively simple model architecture like CNNs. Our findings suggest that the choice of the optimization algorithm is a crucial factor in the performance of CNNs for authorship verification and that hyperparameter tuning can be an effective way to optimize this choice. Overall, this paper demonstrates the effectiveness of hyperparameter tuning in improving the performance of CNNs for authorship verification in digital forensic investigations. Our findings have important implications for developing accurate and reliable authorship verification systems, which are crucial for various applications in digital forensics, such as identifying the author of anonymous threatening messages or detecting cases of plagiarism.