# Write from Postman console to file out

**URL:** <https://community.postman.com/t/write-from-postman-console-to-file-out/12807>\
**Category:** Help Hub\
**Tags:** variables, collections\
**Created:** [May 21, 2020, 3:37pm UTC](https://community.postman.com/t/write-from-postman-console-to-file-out/12807 "2020-05-21T15:37:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aravaws](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aravaws](https://community.postman.com/u/aravaws)\
**Post date:** [May 21, 2020, 3:37pm UTC](https://community.postman.com/t/write-from-postman-console-to-file-out/12807/1 "2020-05-21T15:37:21Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-help-category/38) before creating a new topic.**

Hi all, I have a requirement where in I need to export all the statements in the postman console log to a file output. Could you please help on this.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/b/b156a3b2dceae1c8cb76ac5f9ec4136639afa5b0.png)  
I need to transfer this item to some file , I even tried manual copy paste but it is possible only for the elements visible in the window. It will be cumbersome if I need to capture more than 1000 values in copy paste method.

---

<div class="post-metadata">

**Author:** ![aravaws](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aravaws](https://community.postman.com/u/aravaws)\
**Post date:** [May 21, 2020, 3:50pm UTC](https://community.postman.com/t/write-from-postman-console-to-file-out/12807/2 "2020-05-21T15:50:32Z")

</div>

[Copy from Console broken? Only partial output on clipboard - #14 by FlyingHollander](https://community.postman.com/t/copy-from-console-broken-only-partial-output-on-clipboard/9110/14) Cheers to this workaround 🙂

---

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [May 21, 2020, 3:59pm UTC](https://community.postman.com/t/write-from-postman-console-to-file-out/12807/3 "2020-05-21T15:59:41Z")

</div>

Instead of writing to the console and then transferring to a file, you could write directly to your local file system like this:

> **[Write to your local file system using a Postman Collection | Postman Blog](https://blog.postman.com/write-to-your-local-file-system-using-a-postman-collection/)**
>
> We’ve seen it’s super useful to use an inbound webhook to pipe information gathered by Postman to a Slack channel for scheduled...

---

<div class="post-metadata">

**Author:** ![gpub1](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@gpub1](https://community.postman.com/u/gpub1)\
**Post date:** [March 5, 2021, 3:51pm UTC](https://community.postman.com/t/write-from-postman-console-to-file-out/12807/4 "2021-03-05T15:51:00Z")

</div>

is there any way can print console logs into csv

![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/4/d4bef4e085d896d8aea0e0251c908f5aaf72a138.png)

---

<div class="post-metadata">

**Author:** ![alexsirota](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/alexsirota/32/11898_2.png) [@alexsirota](https://community.postman.com/u/alexsirota)\
**Post date:** [June 2, 2022, 3:16pm UTC](https://community.postman.com/t/write-from-postman-console-to-file-out/12807/5 "2022-06-02T15:16:17Z")

</div>

Looking for an answer too… I wonder if the Postman JS sandbox has local filesystem access, though.
