Use this jquery plugin:
https://www.articlage.com/adrianillo/article/datauploader
you can upload large amount of text easily.
First of all download the script  from: https://github.com/adrianillo/datauploader
Add reference to JQuery and DataUploader script 
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script  src="js/ajaxdatauploader.js"></script>
After Initialize DataUploader
jQuery.ajaxdatauploader(
{
    additional:,
    data:,
    pagerequest:,
    piecelenght:,
    encodedata:,
    success: function (datauploader, status){ 
    }
    error: function (req, status, error) {               
    }
  }
);
aditional:Additional data you want to send to the server, here you can set one identifier what data are sending.
data: Data to send to the server.
pagerequerest: Page to send the data (aspx, php, jsp, ...).
encodedata: If  true then it encodes the data by replacing all special characters with their UTF-8 escape sequences. On the server will have to decode the data. EG in aspx:  HttpUtility.UrlDecode data = (data);
piecelenght: Size of the pieces to send. DataUploader divides data into pieces then is sending to the server.
When the data process  sending  this completed, it will take  the function: 'success'.  If there was a problem and could not complete the sending of data it will lead to the 'error' function.
Finally the server collects the data piece by piece until it is completed