URL Slug Generator - getinfo4free

Generate SEO friendly and human readable URL slugs for your website Instantly with this easy-to-use online tool. getinfo4free any string with ease.

A slug generator Use this simple online tool to quickly build SEO-friendly and understandable URL slugs for your website. easily getinfo4free any string.

INPUT Text: (Article title, tutorial title , Blog Title or any web page title)

Generated Slug URL/Clean URL slug

HTML

<input class="form-control" placeholder="Copy Past the Title of your product or Blogs" type="text" id="searchBox" autocomplete="off" onload="convertToSlug(this.value)" onkeyup="convertToSlug(this.value)" />

JS

 
    function convertToSlug(str) {

        //replace all special characters | symbols with a space
        str = str.replace(/[`~!@#$%^&*()_\-+=\[\]{};:'"\\|\/,.<>?\s]/g, ' ')
            .toLowerCase();

        // trim spaces at start and end of string
        str = str.replace(/^\s+|\s+$/gm, '');

        // replace space with dash/hyphen
        str = str.replace(/\s+/g, '-');
        document.getElementById("slug-text").innerHTML = str;
        //return str;
    }

    copyToClipboard(document.getElementById("slug-text"));

    document.getElementById("search").onclick = function() {
        copyToClipboard(document.getElementById("slug-text"));
    }

    /**
     * This will copy the innerHTML of an element to the clipboard
     * @param element reference OR string
     */
    function copyToClipboard(e) {
        var tempItem = document.createElement('input');

        tempItem.setAttribute('type', 'text');
        tempItem.setAttribute('display', 'none');

        let content = e;
        if (e instanceof HTMLElement) {
            content = e.innerHTML;
        }

        tempItem.setAttribute('value', content);
        document.body.appendChild(tempItem);

        tempItem.select();
        document.execCommand('Copy');

        tempItem.parentElement.removeChild(tempItem);
    }
   

Clean URL Slug Generator


URL Slug Generator - easy , Smart, fast to use online slug Generator tool built to generate search engine friendly and user friendly URL slugs


What is a URL slug?

A URL slug is the actual address of a certain page on your website that appears at the end of a URL. For example, "URL-Slug-Generator" is a slug in the URL https://www.getinfo4free.com/URL-Slug-Generator.html. Composing a brief but meaningful slug for a web page's URL can help improve your page's SEO.

A URL slug is the part at the end of the URL that contains the exact location of a certain page on your site, or in other words, it is a transliteration of the words in the url. Keeping your slugs descriptive and succinct (1-5 words) will help users grasp your web page content and enhance SEO.

What is the purpose of a URL slug generator? 

SLUG generator is a free online developer tool that converts words or text into an SEO-friendly and human-readable URL slug for improved SEO optimization. 

 Like the headline of a blog post, the URL slug also summarizes the page or post in a few words. Because each word in the URL slug is separated by a dash, it has an SEO-friendly format that can be read by both humans and crawlers.

What is the best way to build a URL slug on the internet? 

Using our tool, all you have to do is enter your content in the text area, slugify multiple items by placing each item on a new line with our SLUG generator, and then click the "Generate" button to receive a clean URL slug.

Example

Before:
hello getinfo4free
get notes in getinfo4free
get software solution in softmindlink software solution
After:
hello-getinfo4free
get-notes-in-getinfo4free
get-software-solution-in-softmindlink-software-solution