---
title: "Discussion on \"How to Implement Copy to Clipboard on a Website\" | Hashnode"
description: "Discussion on \"How to Implement Copy to Clipboard on a Website\". In this article, we are going to see how we can implement a copy to clipboard functionality on our website. On clicking the Copy button, the content/text of a paragraph tag should be copied to the clipboard which we can paste anywhere in our system.\n..."
url: "https://hashnode.com/posts/how-to-implement-copy-to-clipboard-on-a-website/60c4a76d1e145957d5af86d0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Implement Copy to Clipboard on a Website](https://bibekkakati.hashnode.dev/how-to-implement-copy-to-clipboard-on-a-website?utm_source=hashnode&utm_medium=feed)

In this article, we are going to see how we can implement a copy to clipboard functionality on our website. On clicking the Copy button, the content/text of a paragraph tag should be copied to the clipboard which we can paste anywhere in our system. ...

Jun 12, 2021 · 2 min read · bibekkakati.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#angularjs](https://hashnode.com/tag/angularjs)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Bibek Kakati](https://hashnode.com/@bibekkakati)

@bibekkakati · India

  
[View profile](https://hashnode.com/@bibekkakati)

Software Engineer • Backend & AI Engineering

Software Engineer with 5+ years of experience building scalable backend and distributed systems across domains and AI.

## Responses 1

Markdown supported · ⌘↵ to post

[Adarsh Thakur](https://hashnode.com/@adarsh-thakur)

[Jun 12, 2021](https://hashnode.com/posts/how-to-implement-copy-to-clipboard-on-a-website/60c4a76d1e145957d5af86d0/comment/60c4dfc31679ed6f51a2703a)

Well Thanks, I never used the navigator object to copy.

[Bibek Kakati](https://hashnode.com/@bibekkakati)

[Jun 12, 2021](https://hashnode.com/posts/how-to-implement-copy-to-clipboard-on-a-website/60c4a76d1e145957d5af86d0/comment/60c4dfc31679ed6f51a2703a#reply-60c4e08b1679ed6f51a27047)

Thank you for your comment.

BTW, it's actually `navigator.clipboard`.
