Anonymous chat

Extremely simple anonymous public chat, no personal information asked, nothing tracked!!! Connect with a random stranger around the world and start chatting randomly and anonymously. It is a great way to meet new people and make amazing friends. It's free and requires no registration.


2018-11-10 (GMT)





What is Anonymous Chat?

The title of this service presents all. This is a simple one to one chat service where the person does not know another. Both are strangers to each other. While some one using this service, we do not track any data of the user including chat content. The service is made for fun.

Why the Anonymous Chat is helpful to us?

Sometimes we feel bore and our minds want to fun without risk. This is the place where you can have fun without worried. Do whatever in your mind.

Who can be benefit with Anonymous Chat?

People who like to chat, fun, flirt, or even depressed. Anyone can use this service to enjoy and refreshments.

Should I use this service?

If you like to have a fun, you should try that. But please keep it in mind that, this service is not being moderated. So good, bad worst thing (abusive activity) may happen while you are talking to a stranger. It is highly recommended that - never share your information with the stranger, and you are safe.

The negative point of the Anonymous Chat

The service requires high server resource. So, we tweaked this service to reduce the server load. By doing so, the chat is not experience real time but it is almost real time (3 seconds delay).
We earn from our advertisers, so we will push text based advertisement into your chat conversation. We hope you can understand that.

How to use the Anonymous Chat (Getting started)

Simply wait until ChatBot connects you with another stranger. When connected, start chatting and have fun. If you do not like your partner, click the New Chat button (left side of the chat text field). This will destroy your ongoing chat session and start a new one with another stranger. when done, simply leave the page.
It is recommended to click on New Chat button before you leave. By doing so, your chat content will be deleted instantly. In case you forget to click on that button, no worries - we will delete your chat content after 10 minutes of inactivity. Either way your chat history data will be delete and nothing left to track you.

Is the Anonymous Chat free?

Yes, it is 100% free service to use. Not only that, if you own a website, and you want to add this system to your website you can use this for free of cost.

How do I use this service to my website/application?

You can use following javascript code in your webpage. Feel free to edit the code with respecting our terms of service.

<style type="text/css">
    .fa-rss::before {content: "\27BD";}
    .fa-redo::before {content: "\21BB";}
</style>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
        
<div class="panel panel-default">
    <div class="panel-body">
        <div class="row">
            <div id="chatRead" class="col-sm-12" style="max-height: 350px;overflow-y: scroll;"></div>
            <div class="col-sm-12">
                <hr />
                <form action="https://www.drivebird.com/services/anonymous-chat" autocomplete="off" id="chat" method="post" accept-charset="utf-8">
<input type="hidden" name="DriveBirdCSRFToken" value="8fcdfbe0c5ac58f3aae9440ad99a5c7c" />                                                                                                   
                <fieldset>
                    <div class="form-group input-group">
                        <span title="Start New Chat" class="input-group-addon" onclick="resetChat();"><i class="fas fa-redo" style="cursor: pointer"></i></span>
                        <input class="form-control" placeholder="Type your chat text..." id="chatText" name="chatText" type="text" value="" autofocus autocomplete="off" required  />
                        <span title="Submit chat text" class="input-group-addon" onclick="addChat()"><i class="fas fa-rss" style="cursor: pointer"></i></span>
                    </div>
                </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>


        
<style type="text/css">
    .anoMe {margin-left: 20%;}
    .anoStranger {margin-right: 20%;}
</style>
<script>
    const MSG_NETWORK_ERROR = "<p class='text-danger'><strong>Network Error Occurred. <ul><li>Make sure your internet connection is working properly</li><li>Please wait while we are trying to reconnect</li><li><a href='https://www.drivebird.com/services/anonymous-chat'>Click here</a> to reload the page</li></ul></strong><br/></p>";
    const MSG_NO_ONGOING_SESSION_TO_RESET = '<div class="text-danger">No ongoing session to reset</div>';
    const MSG_UNKNOWN_ERROR = '<div class="text-danger">Unknown error occurred</div>';
    var connectionId = null;
    var myId = null;
    var addChatRunning = false;
    var lastSeenId = 0;

    function addChat() {
        if (addChatRunning)
            return;

        if(connectionId != null) {
            addChatRunning = true;

            $.post("https://www.drivebird.com/services/anonymous-chat/add-chat", {
                "connectionId": connectionId,
                "chatText": $("#chatText").val(),
                "myId": myId,
                "lastSeenId": lastSeenId
            })
                .done(function (data) {
                    addChatRunning = false;
                    if (data.actionType == 'SUCCESS') {
                        $("#chatText").val("");
                        if(data.msgChat != "") {
                            if (data.myId == myId)
                                $("#chatRead").append('<div class="text-right anoMe">' + data.msgChat + '</div>');
                            else
                                $("#chatRead").append('<div class="text-left anoStranger">' + data.msgChat + '</div>');
                        }
                        lastSeenId = data.lastSeenId;
                        showNewChat();
                    }
                    else {
                        $("#chatText").val("");
                        $("#chatRead").append('<div class="text-info text-center"> ' + data.msgInfo + '</div>');
                        showNewChat();
                    }
                })
                .fail(function () {
                    addChatRunning = false;
                    $("#chatRead").append(MSG_NETWORK_ERROR);
                    showNewChat();
                    setTimeout(function () {
                        addChat();
                    }, 5000);
                });
        }
    }

    function getChat()
    {
        if (addChatRunning) {
            setTimeout(function () {
                getChat();
            }, 3000);
        }
        else {
            if (connectionId != null) {
                $.post("https://www.drivebird.com/services/anonymous-chat/get-chat", {
                    'connectionId': connectionId,
                    'lastSeenId': lastSeenId,
                    'myId': myId
                })
                    .done(function (data) {
                        if (data.actionType == 'FAIL') {
                            connectionId = null;
                            lastSeenId = 0;
                            $("#chatRead").append('<div class="text-info text-center"> ' + data.msgInfo + '</div>');
                        }
                        else if (data.actionType == 'SUCCESS') {
                            if(data.msgChat != "") {
                                if (data.myId == myId)
                                    $("#chatRead").append('<div class="text-right anoMe">' + data.msgChat + '</div>');
                                else
                                    $("#chatRead").append('<div class="text-left anoStranger">' + data.msgChat + '</div>');
                            }                         lastSeenId = data.lastSeenId;
                        }
                        else {
                            $("#chatRead").append(MSG_UNKNOWN_ERROR);
                            lastSeenId = data.lastSeenId;
                        }

                        showNewChat();
                        setTimeout(function () {
                            getChat();
                        }, 3000);
                    })
                    .fail(function () {
                            $("#chatRead").append(MSG_NETWORK_ERROR);
                            showNewChat();
                            setTimeout(function () {
                                getChat();
                            }, 30000);
                        }
                    );
            }
            else {
                $.post("https://www.drivebird.com/services/anonymous-chat/get-connection-id", {})
                    .done(function (data) {
                        if (data.actionType == 'SUCCESS') {
                            connectionId = data.connectionId;
                            lastSeenId = data.lastSeenId;
                            myId = data.myId;
                            $("#chatRead").append('<div class="text-info text-center"> ' + data.msgInfo + '</div>');
                        }
                        showNewChat();
                        setTimeout(function () {
                            getChat();
                        }, 3000);
                    })
                    .fail(function () {
                            $("#chatRead").append(MSG_NETWORK_ERROR);
                            showNewChat();
                            setTimeout(function () {
                                getChat();
                            }, 30000);
                        }
                    );
            }
        }
    }

    function resetChat() {
        if (connectionId != null) {
            $.post("https://www.drivebird.com/services/anonymous-chat/destroy-chat-session", {'connectionId': connectionId})
                .done(function (data) {
                    $("#chatRead").append('<div class="text-info text-center"> '+data.msgInfo+'</div>');
                    connectionId = null;
                    showNewChat();
                })
                .fail(function () {
                        $("#chatRead").append(MSG_NETWORK_ERROR);
                        showNewChat();
                        setTimeout(function () {
                            resetChat();
                        }, 3000);
                    }
                );
        }
        else {
            $("#chatRead").append(MSG_NO_ONGOING_SESSION_TO_RESET);
            showNewChat();
        }
    }

    function showNewChat() {
        var chatRead = $("#chatRead");
//    if (chatRead[0].scrollHeight - chatRead.scrollTop() == chatRead.height())
//    {
        $("#chatRead").animate({
            scrollTop: chatRead[0].scrollHeight - chatRead[0].clientHeight
        }, 1000);
        //}
    }
    $("#chatText").keypress(function(e) {
        if(e.which == 13) {
            e.preventDefault();
            addChat();
        }
    });
    getChat();
</script>
    

I am interested to implement this script in my website. Can you help me?

Yes, we can help you to configure this on your website. Feel free to contact with us. And don't worry, you don't have to pay for the support :)

Terms of service - Anonymous Chat

By using this service means you are agree with out terms of service and privacy policy.
If you decide to add this service to your website, you must agree following terms of service.

  1. You are free to edit the script but, please do not send remote request less than 3 seconds.
  2. You are not allowed to configure this script as bot user.